1
0
-1

I have an app containing 3 processes.  

  • Main Process
  • Auto Process feeding Main and Last process
  • Last Process - Sub-flow started at end of Main process

Auto: Starts by JSON API and pre-populates form and workflow variable values for 2 tables (main and last process). 

In the auto process, I'm building up the form (setting form and workflow variable values from JSON) linked to runProcess of main process.

When formal parameters are passed from auto to main process, I'd like to skip form 'submit' action as it already has all required fields populated.  (I cannot disassociate this form from runProcess as it's needed for a manual route in main process as well).

    CommentAdd your comment...

    3 answers

    1.  
      1
      0
      -1

      Alternatively is there a way I can simulate the submit button activity/status on the prepared form in order for it to progress to next activity in the main workflow?

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi Anders,

        Apologies, in the Auto process I'm populating all required fields in both runProcess forms via JSON Tool.  Works well to build the form.  Only issue is that once workflow variables reach main process which they do, I cannot skip having to manually still submit the form in order to progress to the next activity.   

          CommentAdd your comment...
        1.  
          1
          0
          -1

          Hi, I am unsure how you are pre-populating the form but perhaps you can use the JSON API#FormDataAPI instead of using a form. 

            CommentAdd your comment...