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
Answer: B
Explanation:
Latest Certified B2C Commerce Developer Dumps Valid Version with 148 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund