Skip to main content
February 10, 2023
Question

Any latest plugin or smart service to call subprocess dynamically

  • February 10, 2023
  • 15 replies
  • 0 views

Any latest plugin or smart service to call subprocess dynamically ?

    15 replies

    harshitb6843
    February 10, 2023

    How about using startprocess smart service instead? 

    February 10, 2023

    It is a asynchronous process . I need a synchronous call 

    harshitb6843
    February 10, 2023

    Then we are left with 2 options, that I know. 

    1. Create a sub process with all the variations and then call that as your dynamic process and pass the required inputs so the sub-proc can understand which one to trigger. 
    2. To still use startProcess and add a condition after it that checks a variable of the startProcess and triggers the rest of the nodes when the condition is met. (making it artificially synchronous )
    abhayd3663
    February 10, 2023

    Create the single sub-process and have the dynamic conditions inside your sub-process to spawn different flow or take actions according to the condition.

    stefanhelzle0001
    February 11, 2023

    Why not call this process async as the last node. Then make that started process call the next process model. In case you need that dynamic, you can pass a variable holding a reference to the next to-be started model.

    davidj137213
    February 7, 2024

    IN previous Appian versions, there was an smart service that allows this operation, passing the uuid of the process as a parameter.

    Why was this feature removed? Was it replaced with a different smart service ?

    stefanhelzle0001
    February 7, 2024

    I do not know of a replacement, but you can use the Start Process smart service to start a process model by its ID. Use the content tools plugin function getprocessmodeldetailsbyuuid() to get the ID for a UUID.