Restart multiple process instance at once

Is there a way to start multiple broken process instances of a process model that fail in specific node at once?

  Discussion posts and replies are publicly visible

  • 0
    Certified Associate Developer

    Hi Lydiaa,

    1. Deploy the plugin "GetProcessesByNodeStatus", this will provide the list of process ids which are broken, below are the config details for this.

       1.1  IncludeSubProcess: false

       1.2 Process model UUID: Provide the UUID of the processmodel, this you can get through generate process documentation

    1.3 Process node status: 8, This means the broken nodes

    1.4 Process Node UUID: UUID of the  node which was broken, this you can get through generate process documentation

    Executing this will provide all the list of process ids which are broken.

    2.  Deploy plugin "Process Management utilities", use the smart service restart all nodes, below is the configuration details

          Dryrun: false, if you are testing , make it as true

           NodeUUID: same as steps 1.4 mentioned above

         processIds: From the above #! step yyou will be getting the list of process ids, pass those process ids here.

    In case of multiple nodes and multiple processes to be restarted make sure you maintain the UUID's in constant and loop in through that.

  • 0
    Certified Senior Developer

    Hello  
    Appian has provided documentation as well as plugin to achieve this step by step.
    I would recommend you to go through this documentations for better understanding.

    Identify failures: Use "Get Processes By Node Status" plugin to find process IDs and node UUIDs that failed at a specific point.
    Restart nodes: Utilize "Restart All Nodes" plugin to restart those specific failed nodes you identified.

    How to automate the restart of stuck nodes within a process model

    Process By Node Status Plugin