Event fired by is approval events (Non-Task) what is this

Sirri
Tera Guru

Hi All,

 

One event is fired by  approval events (Non-Task) what is that I'm not understanding in which case this will trigger.

 

Please find bleow snip for your reference.

Sirri_0-1709552673697.png

 

please let me know in which case this will trigger.

 

Thank you

 

 

10 REPLIES 10

The BR condition

(current.source_table != '' && new TableUtils(current.source_table).getAbsoluteBase() != 'task') && current.state.changes()

 

current.source_table != '' <- Source Table for the approval is not empty

new TableUtils(current.source_table).getAbsoluteBase() != 'task' <- The base table, if the table is extended, is not one of 'task'

current.state.changes() <- State value changes

Mark Manders
Mega Patron

'approval events (Non-Task)' is a business rule. You will find the events in there.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Hi @Mark Manders  ,

 

could you please explain the condition as per the below condition.

 

Sirri_1-1709557905720.png

 

Thank you

Even with downloading and zooming in, I can't read what your screenshot says.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

swathisarang98
Giga Sage
Giga Sage

Hi @Sirri ,

 

Fired By field is used to determine from which script or business rule the event was triggered in your case its being triggered from Business rule "approval events (Non-Task)" .

 

swathisarang98_0-1709555442157.png

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang