Regarding setAbortAction() Custom action flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2023 12:06 AM
Hi community ,
Is it possible to create setAbortAction custom action in flow designer ?
Thanks in advance !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2023 12:13 AM - edited 12-22-2023 12:19 AM
not sure whether I get your point. One, two more sentences would be nice because no one can read your thoughts.
And to answer: No, it is not possible, as Flows are not connected to the UI of the user and his transactions. Therefore, a flow Cannot abort a user transaction.
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2023 12:19 AM
Hi @Maik Skoddow,
I apologize for condensing my thoughts into one sentence.
Question: Is it possible to create a custom action in Flow Designer that will abort CRUD operations, similar to using `setAbortAction(true)`, when a user doesn't meet certain conditions? Can we achieve the same thing in Flow Designer by using `object.setAbortAction(true)`?
Thank you,
Astik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2023 12:25 AM
again: Flows cannot interact with the session of a user, and thus are not able to abort any client transaction. They run in the background and can react on any data changes, but not on user actions!
Use Business Rules if you want to do achieve the same.
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2023 12:15 AM
Hi @Astik Thombare ,
No its not possible.
Please create a Business Rule in your scenario assuming u want to stop some action from happening.
Thanks,
Danish