Filter by process path
To filter by the process path, the following elements must be declared:
Element | Description |
---|---|
ProcessFilterByPath | Filter type Contains the following elements:
|
ProcessStatus | Process status, multiple declaration possible. Possible values:
|
ProcessPath | Path to the X4 process to be executed Possible values: Any valid path to the X4 process in the X4 repository (e.g. |
Example
Input
XML
<?xml version="1.0" encoding="UTF-8"?>
<Query>
<ProcessFilterByPath>
<ProcessPath>1/MyProject/Processes/MyProcess.wrf</ProcessPath>
</ProcessFilterByPath>
</Query>
Output
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ProcessExecutions>
<Paginate offset="0" limit="10"/>
<ProcessExecution id="801cb04f-e501-4d73-8cff-9d3103ebf386">
<HostName>SOFTPROJECT</HostName>
<Process>1/MyProject/Processes/MyProcess.wrf</Process>
<StartedAt>2021-09-02T15:50:28Z</StartedAt>
<Status>RUNNING</Status>
</ProcessExecution>
</ProcessExecutions>