comparing workflow and Background scripts MRVS script execution fails.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2023 06:30 AM
Hi All,
One of the catalog i am using MRVS and the value results are coming up in background script and when i try in workflow logs showing undefined and object.
background script:
we are not getting the logs here. Please assist anything I am missing the format.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2023 10:56 AM - edited 10-15-2023 10:04 AM
In the workflow script, do not parse the MRVS before the for loop, so this part of the script would just be:
var mvrs = current.variables.u_request_details;
gs.info("AK MRVS value 2: " + mvrs);
for (var i = 0; i < mvrs.getRowCount(); i++) {
...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2023 05:48 AM
Can you please try this way
Please mark my answer helpful if you find it correct.
Regards,
Kavita Bhojane