Any latest plugin or smart service to call subprocess dynamically

Certified Senior Developer

Any latest plugin or smart service to call subprocess dynamically ?

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    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.

  • 0
    Certified Lead Developer
    in reply to Stefan Helzle

    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 ?

  • 0
    Certified Lead Developer
    in reply to David Jimenez Calleja

    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.

  • 0
    Certified Lead Developer
    in reply to Stefan Helzle

    Thx Stephan this is how we are actually doing it, with async process ... would it be possible to do that with a synchronus way?

    it would be the same as if we were using the subprocess sync call, but with the process model as a parameter (this can not be done actually)

  • 0
    Certified Lead Developer
    in reply to David Jimenez Calleja

    Not really. You could use chaining to make the Start Process node complete at the end of the chain. But that comes along with the typical chaining issues.

  • 0
    Certified Lead Developer
    in reply to Stefan Helzle

    how to get Id from UUID by this function getprocessmodeldetailsbyuuid. Can you please share the syntax. I am using this syntax still not getting the ID from UUID


  • 0
    Certified Lead Developer
    in reply to yashig2399

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    a!localVariables(
    local!parts: split(getprocessmodeldetailsbyuuid("0002ebd5-XXXX-XXXX-ffd0-7f0000014e7a"), ","),
    tointeger(
    index(
    local!parts,
    where(like(local!parts, " Id:*")),
    {}
    )
    )
    )
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Reply
  • 0
    Certified Lead Developer
    in reply to yashig2399

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    a!localVariables(
    local!parts: split(getprocessmodeldetailsbyuuid("0002ebd5-XXXX-XXXX-ffd0-7f0000014e7a"), ","),
    tointeger(
    index(
    local!parts,
    where(like(local!parts, " Id:*")),
    {}
    )
    )
    )
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Children