Generate Job Work Item from Work To Do
This workflow is included in the Defect Work Items package.
Description
Generates jwi from defect work items.
Properties
This workflow has the following properties.
| Property | Value |
|---|---|
| Name | Generate Job Work Item from Work To Do |
| Code | workflows_createJobWorkItemFromWorkToDo_67fe585f6844e1ed0a1d10fd |
| Type | Workflow |
| Context | Package |
| Enabled | Yes |
| Tags | Causeway, Causeway Package |
| Runs on | Working days and hours only (Both) |
| Can trigger other workflows | Yes (the items it changes and messages it publishes can trigger other workflows) |
| Log retention | 30 days |
Trigger
A user triggers this workflow on demand, or another workflow runs it (via an MWR). It works on the items of the design below.
| Property | Value |
|---|---|
| Workflow type | Manual workflow |
| Applies to | Defect Work Items |
| Output mode | ManyItems (Runs once for all items) |
| Parameters design | ParameterDesign - MWR - Generate Job Work Item from Work To Do |
| Output action | The Create Item action highlighted in the diagram below |
Actions
This workflow runs 1 action, in the order shown in this simplified diagram. Every action's full settings are in the configuration below.
Configuration
The full configuration of this workflow, including every action's parameters.
Show configuration (106 lines)
{
"trigger": {
"dodiCode": "designInterfaces_defectsWorkItems",
"parametersDesignCode": "designs_pdMwrCreateJwiFromWtd_67fe5b0f2a51f7c15232548d",
"outputMode": "ManyItems",
"outputActionId": "6800d4d39e9adb19b140e468"
},
"actions": [
{
"actionId": "6800d4d39e9adb19b140e468",
"designCode": "designs_workflowCreateItemAction",
"description": "Create JWI from WTD",
"parameters": [
{
"attribute": {
"attributeCode": "attributes_workflowCreateItemActionsDesignCode",
"value": "designs_measurementJobWorkItems",
"attributeType": "String"
}
},
{
"attribute": {
"attributeCode": "attributes_workflowCreateItemActionsCollection",
"value": "Live",
"attributeType": "String"
}
},
{
"attribute": {
"attributeCode": "attributes_workflowCreateItemActionsParentsLinkAttributeCode",
"value": "attributes_jobsJobWorkItems",
"attributeType": "String"
}
},
{
"attributeCode": "attributes_workflowCreateItemActionsParents",
"attributeType": "Link",
"value": {
"parameterCode": "attributes_WMTjobs_67fe620ff58473a543eb05ce",
"inputMode": "Each"
}
},
{
"attributeCode": "attributes_jobWorkItemsWorkItem",
"value": {
"inputParent": 0,
"itemValue": {
"attributeCode": "attributes_defectWorkItemsWorkToDoWorkItem"
}
},
"attributeType": "Link"
},
{
"attributeCode": "attributes_jobWorkItemsEstimatedValue",
"attributeType": "Number",
"value": {
"script": "(width ?? 1.0) * (length ?? 1.0)* (depth ?? 1.0) * (quantity ?? 1)"
}
}
],
"variables": [
{
"name": "quantity",
"value": {
"inputParent": 0,
"itemValue": {
"attributeCode": "attributes_measurementQuantity"
}
},
"attributeType": "Number"
},
{
"name": "width",
"value": {
"inputParent": 0,
"itemValue": {
"attributeCode": "attributes_measurementWidth"
}
},
"attributeType": "Number"
},
{
"name": "length",
"value": {
"inputParent": 0,
"itemValue": {
"attributeCode": "attributes_measurementLength"
}
},
"attributeType": "Number"
},
{
"name": "depth",
"value": {
"inputParent": 0,
"itemValue": {
"attributeCode": "attributes_measurementDepth"
}
},
"attributeType": "Number"
}
],
"actions": []
}
]
}