Client Script to call SubFlow with Outputs - Scoped Application

Annette Kitzmil
Tera Guru

Hello,

 

I created a very basic subflow with inputs and outputs as shown below which works as expected when Testing in flow designer.

AnnetteKitzmil_0-1705415393346.png

AnnetteKitzmil_2-1705415441844.png

 

AnnetteKitzmil_3-1705415457698.png

I then got the server script snippet working in the background script as well.  Then I moved onto to the client script and attached it to the UI action.  I used the g_form.addInfoMessage to figure out which part of the script was working and when I add the g_form.addInfoMessage on line 30 to check the status output and again on line 36 and 37 to check on outputs, I am getting nothing.  It is definitely reading the input as the g_form.addInfoMessage  on line 10 does shows the "filenet_document_id", but I don't understand when the next part of my script isn't working from the code snippet that i took from the subflow.  Can someone give me some direction to just getting this working please?

AnnetteKitzmil_4-1705415698156.png

AnnetteKitzmil_5-1705415727632.png

AnnetteKitzmil_6-1705415756479.png

=====================================================================

AnnetteKitzmil_7-1705415797572.png

 

 

Thanks,

Annette

 

 

0 REPLIES 0