Notifications
Clear all
Topic starter
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
Suggested Answer: B
Posted : 10/01/2023 11:43 pm