Skip to main content
Skip table of contents

Filter by all subprocesses of a process

To filter by all subprocesses of a process including the subprocesses of the subprocesses, the following elements can be declared:

ElementDescription
ProcessFilterByRootId

Filter type

Contains the following elements:

  • ProcessStatus (optional)
  • RootProcessInstanceId
ProcessStatus

Process status, multiple declaration possible.

Possible values:

  • RUNNING
  • PAUSED
  • FINISHED
  • ERROR
  • TERMINATED
  • CRASHED
RootProcessInstanceIdUUID of the process

Example

Input

XML
<?xml version="1.0" encoding="UTF-8"?>
<Query>
	<ProcessFilterByRootId>
		<ProcessStatus>FINISHED</ProcessStatus>
		<RootProcessInstanceId>5acfe639-f8be-44f7-8775-002e7dc6385a
		</RootProcessInstanceId>
	</ProcessFilterByRootId>
</Query>

Output

XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ProcessExecutions>
    <Paginate offset="0" limit="2"/>
    <ProcessExecution id="14336319-9e13-4dde-910f-282d23817551" rootId="5acfe639-f8be-44f7-8775-002e7dc6385a">
        <HostName>SOFTPROJECT</HostName>
        <ParentProcess>
            <ProcessInstanceId>5acfe639-f8be-44f7-8775-002e7dc6385a</ProcessInstanceId>
            <ActionId>3</ActionId>
        </ParentProcess>
        <Process>1/MyProject/Processes/MyProcess.wrf/MySubProcess.wrf</Process>
        <StartedAt>2021-09-06T11:30:34Z</StartedAt>
        <FinishedAt>2021-09-06T11:30:36Z</FinishedAt>
        <TotalTime>2005</TotalTime>
        <Status>FINISHED</Status>        
    </ProcessExecution>
    <ProcessExecution id="a4a2298e-a952-41c3-81c1-d16d2066317a" rootId="5acfe639-f8be-44f7-8775-002e7dc6385a">
        <HostName>SOFTPROJECT</HostName>
        <ParentProcess>
            <ProcessInstanceId>14336319-9e13-4dde-910f-282d23817551</ProcessInstanceId>
            <ActionId>3</ActionId>
        </ParentProcess>
        <Process>1/MyProject/Processes/MyProcess.wrf/MySubProcess.wrf/MySubProcess_2.wrf</Process>
        <StartedAt>2021-09-06T11:30:34Z</StartedAt>
        <FinishedAt>2021-09-06T11:30:35Z</FinishedAt>
        <TotalTime>1003</TotalTime>
        <Status>FINISHED</Status>        
    </ProcessExecution>
</ProcessExecutions>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.