- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2024 01:05 PM
Hi SN Community,
I'm working on converting a business rule into a flow. In the BR, a script include is called like so:
(function executeRule(current, previous /*null when async*/) {
// Call the script include
new global.u_AttachmentUtils().copyAllAttachmentsToMe(current.parent.sys_class_name.toString(), current.getValue('parent'), current);
})(current, previous);
I need the flow to call the same script include. I've seen posts suggesting creating a custom action with script step. However, I don't see the custom action as an option.
Any help is greatly appreciated, thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2024 01:16 PM - edited 04-22-2024 01:19 PM
Hello @Anderson_R
Custom action means you just need to create a brand new "ACTION" and call it in your FLOW.
Hope it helps.
Murthy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2024 01:16 PM - edited 04-22-2024 01:19 PM
Hello @Anderson_R
Custom action means you just need to create a brand new "ACTION" and call it in your FLOW.
Hope it helps.
Murthy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2024 09:25 AM
This helps a lot, thank you!