Client Script to call SubFlow with Outputs - Scoped Application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2024 06:41 AM
Hello,
I created a very basic subflow with inputs and outputs as shown below which works as expected when Testing in flow designer.
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?
=====================================================================
Thanks,
Annette