Skip to content

Instantly share code, notes, and snippets.

@jmettraux
Created March 1, 2012 04:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmettraux/1947312 to your computer and use it in GitHub Desktop.
Save jmettraux/1947312 to your computer and use it in GitHub Desktop.
jmettraux@sanma $ date; bx rake swf:executions_and_tasks
Thu Mar 1 13:32:50 JST 2012
WFTYPE VER START WFID RUNID STC ODT OAT OT
my_workflow 0.1b 2012-03-01 04:31:24 UTC 20120301-1331-bipihosa-mopoyu ce51e5d5-d88a-4cfe-b19f-70fc9f1c97e0 5 0 1 0
count: 1
jmettraux@sanma $ date; bx rake swf:describe[20120301-1331-bipihosa-mopoyu]
Thu Mar 1 13:33:11 JST 2012
{
"executionConfiguration": {
"childPolicy": "TERMINATE",
"executionStartToCloseTimeout": "31536000",
"taskList": { "name": "my_swf" },
"taskStartToCloseTimeout": "5"
},
"executionInfo": {
"cancelRequested": false,
"execution": {
"runId": "ce51e5d5-d88a-4cfe-b19f-70fc9f1c97e0",
"workflowId": "20120301-1331-bipihosa-mopoyu"
},
"executionStatus": "OPEN",
"startTimestamp": 1330576284.697,
"workflowType": {
"name": "my_workflow",
"version": "0.1b"
}
},
"latestActivityTaskTimestamp": 1330576290.678,
"latestExecutionContext": "x",
"openCounts": {
"openActivityTasks": 1,
"openChildWorkflowExecutions": 0,
"openDecisionTasks": 0,
"openTimers": 0
}
}
jmettraux@sanma $ date; bx rake swf:history[20120301-1331-bipihosa-mopoyu]
Thu Mar 1 13:33:29 JST 2012
--------------------------------------------------------------------------------
1 - WorkflowExecutionStarted - 2012-03-01 04:31:24 UTC (1330576284.697)
{"childPolicy"=>"TERMINATE",
"executionStartToCloseTimeout"=>"31536000",
"input"=>"y",
"parentInitiatedEventId"=>0,
"taskList"=>{"name"=>"my_swf"},
"taskStartToCloseTimeout"=>"5",
"workflowType"=>{"name"=>"my_workflow", "version"=>"0.1b"}}
--------------------------------------------------------------------------------
2 - DecisionTaskScheduled - 2012-03-01 04:31:24 UTC (1330576284.697)
{"startToCloseTimeout"=>"5", "taskList"=>{"name"=>"my_swf"}}
--------------------------------------------------------------------------------
3 - DecisionTaskStarted - 2012-03-01 04:31:24 UTC (1330576284.774)
{"identity"=>"worker-sanma.local-10.0.1.2", "scheduledEventId"=>2}
--------------------------------------------------------------------------------
4 - DecisionTaskTimedOut - 2012-03-01 04:31:29 UTC (1330576289.787)
{"scheduledEventId"=>2, "startedEventId"=>3, "timeoutType"=>"START_TO_CLOSE"}
--------------------------------------------------------------------------------
5 - DecisionTaskScheduled - 2012-03-01 04:31:29 UTC (1330576289.787)
{"startToCloseTimeout"=>"5", "taskList"=>{"name"=>"my_swf"}}
--------------------------------------------------------------------------------
6 - DecisionTaskStarted - 2012-03-01 04:31:30 UTC (1330576290.039)
{"identity"=>"worker-sanma.local-10.0.1.2", "scheduledEventId"=>5}
--------------------------------------------------------------------------------
7 - DecisionTaskCompleted - 2012-03-01 04:31:30 UTC (1330576290.592)
{"executionContext"=>"x",
"scheduledEventId"=>5,
"startedEventId"=>6}
--------------------------------------------------------------------------------
8 - ActivityTaskScheduled - 2012-03-01 04:31:30 UTC (1330576290.592)
{"activityId"=>"0_0!f0ef9c44552d1a3cac9d412152e70047",
"activityType"=>{"name"=>"my_activity", "version"=>"0.1b"},
"control"=>"dispatch 0_0!x!20120301-1331-bipihosa-mopoyu bob",
"decisionTaskCompletedEventId"=>7,
"heartbeatTimeout"=>"NONE",
"input"=>"y",
"scheduleToCloseTimeout"=>"NONE",
"scheduleToStartTimeout"=>"NONE",
"startToCloseTimeout"=>"NONE",
"taskList"=>{"name"=>"my_swf"}}
--------------------------------------------------------------------------------
9 - ActivityTaskStarted - 2012-03-01 04:31:30 UTC (1330576290.678)
{"identity"=>"activity_worker-sanma.local-10.0.1.2", "scheduledEventId"=>8}
--------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment