List of questions
Related questions
Question 142 - Certified B2C Commerce Developer discussion
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.
var Status = require ('dw/system/Status');return new Status (Status.OK, 'NO_FILES_FOUND');
B.
this.status = 'NO_FILES_FOUND'; return this;
C.
return 'NO_FILES_FOUND';
D.
var status = {success: 'OK', message: 'NO_FILES_FOUND'}; return status;
Your answer:
0 comments
Sorted by
Leave a comment first