Pre-Winter Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Salesforce Certified B2C Commerce Developer Comm-Dev-101 Question # 1 Topic 1 Discussion

Salesforce Certified B2C Commerce Developer Comm-Dev-101 Question # 1 Topic 1 Discussion

Comm-Dev-101 Exam Topic 1 Question 1 Discussion:
Question #: 1
Topic #: 1

Given a job step configured in the steptype.json that calls a script module, a developer needs to add a custom status code " NO_FILES_FOUND " in the script. The status does not represent an error condition.

Which code snippet completes this requirement?


A.

this.status= ' NO_FILES_FOUND ' ;returnthis;


B.

varStatus=require( ' dw/system/Status ' );returnnewStatus(Status.OK, ' NO_FILES_FOUND ' );


C.

varstatus={success: ' OK ' ,message: ' NO_FILES_FOUND ' };returnstatus;


Get Premium Comm-Dev-101 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.