Sequence Job Data
Job Data task is used to retrieve from the server the sequence job data of the workflow being executed. In case we want sequence data for a specific job, simply fill the parameter job ID in the main tag of the task
Job ID
The ID of the sequence job to retrieve. Leave this as null to get current sequence job data.
Returned value
Sequence job data returns the following data structure.
{
"id": 3023,
"job_id": 3023,
"job_key": "seq_job_workflow",
"job_name": "Workflow",
"job_type": "seq_job_workflow",
"job_start_date": "2022/10/24 11:43:47",
"job_count_exec": 1,
"job_count_start_if_exec": 0,
"job_node_level": 1,
"job_execution_path": "ok.seq_job_ui.ok.seq_job_workflow",
"job_state": "IN_PROGRESS",
"job_state_for_display": "IN_PROGRESS",
"job_last_activity": "2022/10/24 09:43:51",
"seq_id": 1529,
"sequence_thumbnail": {
"__media_tag__": true
},
"id_in_graph": "aa9fde3e-a851-4b78-97a3-5b7b65dad82f",
"progress": [],
"job_replay_url": "http://10.0.4.31/sequence/restart_job?token=eyJzZXF1ZW5jZV9pZCI6IDE1MjksICJqb2Jfa2V5IjogInNlcV9qb2Jfd29ya2Zsb3ciLCAiam9iX3R5cGUiOiAic2VxX2pvYl93b3JrZmxvdyIsICJleGVjdXRpb25fcGF0aCI6ICJvay5zZXFfam9iX3VpLm9rLnNlcV9qb2Jfd29ya2Zsb3cifQ==",
"job_resume_waiting_external": "http://10.0.4.31/sequence/on_external_end_workflow?token=eyJzZXF1ZW5jZV9pZCI6IDE1MjksICJqb2Jfa2V5IjogInNlcV9qb2Jfd29ya2Zsb3ciLCAiam9iX3R5cGUiOiAic2VxX2pvYl93b3JrZmxvdyIsICJleGVjdXRpb25fcGF0aCI6ICJvay5zZXFfam9iX3VpLm9rLnNlcV9qb2Jfd29ya2Zsb3cifQ==",
"context": {
"deadline": "2022-10-24",
"title": "Allocate job"
},
"user_messages": {},
"seq_deadline": "2022/10/24",
"seq_start_date": "2022/10/24",
"seq_name": "Allocate job",
"seq_color": "",
"seq_state": "IN_PROGRESS",
"seq_priority": 0,
"seq_tags": [],
"seq_created_by": "admin",
"workflow_instance": 94850,
"sequence_template_name": "Allocate job",
"seq_workflow_template": 111
}