Use Process variable in System Script

1
0
-1

Hi all.

Is there a way to reference a process variable in the "Write your script here" section of a System script connector?

I would like to use a process or business data variable in bonita as an argument to the "script" we want to run.

We have a bunch of scripts to accomplish specific tasks already. I would like to capture them all into Bonita to use.

If I can pass process or business data variables to them then I can start to convert those scripts into groovy slowly over time.

thanks for the help!
https://drive.google.com/file/d/0B8v-PCGQlLiERW40SXhLU2trYzA/view?usp=sh...

1 answer

1
+1
-1
This one is the BEST answer!

Click Switch Editor and use the script editor to return the command to execute...

return "command + {{parameter}};

regards
Seán

PS: As this reply answers your question, please mark as resolved by ticking the tick mark on the left of this reply.

Notifications