Skip to main content
Skip table of contents

Filter by process path

To filter by the process path, the following elements must be declared:

ElementDescription
ProcessFilterByPath

Filter type

Contains the following elements:

  • ProzessStatus (optional)
  • ProcessPath
ProcessStatus

Process status, multiple declaration possible.

Possible values:

  • RUNNING
  • PAUSED
  • FINISHED
  • ERROR
  • TERMINATED
  • CRASHED
ProcessPath

Path to the X4 process to be executed

Possible values: Any valid path to the X4 process in the X4 repository (e.g. 1/MyProject/Processes/MyProcess_1.wrf)

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>
JavaScript errors detected

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

If this problem persists, please contact our support.