Regarding setAbortAction() Custom action flow designer

Astik Thombare
Tera Sage

Hi community ,

 

Is it possible to create setAbortAction custom action in flow designer ?

 

Thanks in advance !!

5 REPLIES 5

Maik Skoddow
Tera Patron
Tera Patron

Hi @Astik Thombare 

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

 

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

Hi @Astik Thombare 

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

Danish Bhairag2
Tera Sage
Tera Sage

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