🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Global script in Visual Processes

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

I am trying to call a function defined in "Global Declarations" under "Standard Processes" > "Scripts" from a script element of my Visual Process.

I get an error saying that the function is not declared or it may be inaccessible due to its protection level.

 

It works fine when called from a Standard Process (either from pre process or post process script). Is the Global Declarations only for use within Standard Process? Is there an equivalent for Visual Process?

I don't want to duplicate script code in my visual processes. Is there a workaround?

 

Thank you!

Find more posts tagged with