Salesforce Certified B2C Commerce Cloud Developer (Comm-Dev-101) B2C-Commerce-Developer Question # 19 Topic 2 Discussion

Salesforce Certified B2C Commerce Cloud Developer (Comm-Dev-101) B2C-Commerce-Developer Question # 19 Topic 2 Discussion

B2C-Commerce-Developer Exam Topic 2 Question 19 Discussion:
Question #: 19
Topic #: 2

Given a job step configured in the steptype.json, a developer needs to add a custom status code

“No_FILES_FOUND”.

Which code snippet will complete the requirement?


A.

var status = {success: ‘OK’. Message: ‘NO_FILES_FOUND’};return status;


B.

var status = require(‘dw/system/status’);return new Status(Status.OK, ‘NO_FILES_FOUND’);


C.

this.status = ‘NO_FILES_FOUND’return this;


D.

return ‘NO_FILES_FOUND


Get Premium B2C-Commerce-Developer 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.