Top
Systemwalker Runbook Automation Reference Guide
Systemwalker

2.4 Detailed Information File for Process Instance

File name

Process instance ID.xml

Use

This file is made when you execute swrba_admin (Administrator command) to get detailed information of process instance.

File Location

This file is made in the directory that is specified by "-d" option of swrba_admin (Administrator command).

File Format

The following content is output to the file by the XML form.

Element name

Attribute

Contents

Remarks

Process instance

-

-

Information of process instance

Id

Process ID

Name

Process instance name

Started

Beginning date
(yyyy-mm-dd hh:mm:ss)

Completed

End date
(yyyy-mm-dd hh:mm:ss)

While the process instance is operating, this content is not displayed.

Status

Status

Owner(s)

Owner(s)

Initiator

Those who start process

Node

-

Node information

Id

Node ID

Created

Node instance creation date

(yyyy-mm-dd hh:mm:ss)

Name

Name

Type

Type

Status

Status

Form

Form

When QuickForm is appended, a form name is displayed.

Timer

Timer

Timer name when timer is specified.

UDA

-

Information of user definition attribute

Name

Name

Value

Value

Type

UDA type

History

-

History information

Id

History ID

Timestamp

History creation date
(yyyy-mm-dd hh:mm:ss)

EventCode

Event code

It is a history event code. There are the following values in the event code.

0 Beginning (default)

1 Activation

2 Selection

3 Approval

4 Refusal

5 Reassignment

6 End

7 Creation of the subprocess

8 Stop temporarily work item

9 Restart the work item

10 Work beginning

11 Work stop

12 Vote completion

13 Process making

14 Process shift

15 Process regaining

16 Deactivation of the target node

17 Activation of source node

25 creation of work item in the future

EventType

Event type

EventData

Event addition day

ProducerType

Producer type

ProducerId

Producer ID

ConsumerType

Consumer type

ConsumerId

Consumer ID

IsHandled

State of event

Example

The output example is shown below.

<?xml version="1.0" encoding="UTF-8"?>
<Processinstance Completed="" Id="34" Initiator="swrbasch" Name="startPara" Owner="swrbaadmin" Started="2012-06-07 14:35:05" Status="running">
<Node Form="" Id="35" Name="Start" Status="Completed" Type="Start"/>
<Node Id="36" Name="Delay1" Status="Completed" Type="Delay"/>
<Node Form="" Id="37" Name="Activity1" Status="Running" Timer="" Type="Activity"/>
<Node Id="38" Name="Exit1" Status="Initial" Type="Exit"/>
<Node Form="" Id="39" Name="Activity2" Status="Initial" Timer="" Type="Activity"/>
<UDA Name="SWRBA_RCODE" Type="STRING" Value=""/>
<UDA Name="__atmr_Timer1_time" Type="LONG" Value="30000"/>
<UDA Name="__atmr_Timer1_actionset" Type="STRING" Value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;JavaActionSet javaActionCount=&quot;0&quot; name=&quot;&quot;&gt;&#10;    &lt;Description/&gt;&#10;&lt;/JavaActionSet&gt;&#10;"/>
<UDA Name="SWRBA_STDERR" Type="STRING" Value=""/>
<UDA Name="_example" Type="STRING" Value=""/>
<UDA Name="SWRBA_STDOUT" Type="STRING" Value=""/>
<History ConsumerId="34" ConsumerType="7" EventCode="0" EventData="" EventTYPE="__ProcessCreated" Id="45" IsHandled="4" ProducerId="34" ProducerType="7" Timestamp="2012-06-07 14:35:05"/>
<History ConsumerId="34" ConsumerType="7" EventCode="0" EventData="" EventTYPE="__CommitEdit" Id="46" IsHandled="4" ProducerId="34" ProducerType="7" Timestamp="2012-06-07 14:35:05"/>
<History ConsumerId="34" ConsumerType="7" EventCode="0" EventData="" EventTYPE="__Start" Id="47" IsHandled="1" ProducerId="34" ProducerType="7" Timestamp="2012-06-07 14:35:05"/>
<History ConsumerId="35" ConsumerType="3" EventCode="1" EventData="" EventTYPE="__Activate" Id="48" IsHandled="1" ProducerId="34" ProducerType="7" Timestamp="2012-06-07 14:35:05"/>
<History ConsumerId="35" ConsumerType="3" EventCode="0" EventData="" EventTYPE="__NodeClosed" Id="49" IsHandled="4" ProducerId="35" ProducerType="3" Timestamp="2012-06-07 14:35:05"/>
<History ConsumerId="36" ConsumerType="3" EventCode="1" EventData="" EventTYPE="start" Id="50" IsHandled="1" ProducerId="40" ProducerType="0" Timestamp="2012-06-07 14:35:05"/>
<History ConsumerId="36" ConsumerType="3" EventCode="0" EventData="" EventTYPE="__TimerEvent" Id="52" IsHandled="1" ProducerId="51" ProducerType="15" Timestamp="2012-06-07 14:35:36"/>
<History ConsumerId="36" ConsumerType="3" EventCode="0" EventData="" EventTYPE="__NodeClosed" Id="53" IsHandled="4" ProducerId="36" ProducerType="3" Timestamp="2012-06-07 14:35:36"/>
<History ConsumerId="37" ConsumerType="3" EventCode="1" EventData="" EventTYPE="Arrow1" Id="54" IsHandled="1" ProducerId="41" ProducerType="0" Timestamp="2012-06-07 14:35:36"/>
</Processinstance>