- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 05:07 AM - edited 02-21-2024 05:10 AM
Hi All,
Can anyone please help us on the below issue.
We wrote the below run script on workflow level to add / remove the users from selected groups but some reasons it's not working properly.
workflow.info('User added successfully: ' + mySplitResult[i]);
} else {
workflow.info('Failed to add user: ' + mySplitResult[i] + ', Error: ' + rec.getErrorMessage());
}
Note: on logs level, It's returning the "Failed to add user" info and Error returned as Undefined.
Advance thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 06:19 AM
Hi LaraReddy,
It seems weird, but you need to dry run the code and do some try and checks. Definitely, you cannot do that over the prod. Might need to clone from prod to DEV and try some try checks there. That is the only thing I can suggest right now. Let me know how it goes.
Thanks!!
Simran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 06:19 AM
Hi LaraReddy,
It seems weird, but you need to dry run the code and do some try and checks. Definitely, you cannot do that over the prod. Might need to clone from prod to DEV and try some try checks there. That is the only thing I can suggest right now. Let me know how it goes.
Thanks!!
Simran