Accessing flow variables in script include

gunishi
Tera Guru

Hi there, 

 

I have a flow that has 3 levels of approval. I want to extract the flow variable for the first approval to see whether it is true or not. I need to use this information in a script include function, but am unsure about the syntax of this and whether this is possible. 

 

The reason I need this is I need to assess a record after it has been approved and I need to check when it was approved (ie what level did the flow end at). 

 

Any help with this issue would be much appreciated. 

 

Kind regards, 

G

1 REPLY 1

Siddhesh Gawade
Mega Sage
Mega Sage

Hello @gunishi ,

From were you calling this script include?