conductor
conductor copied to clipboard
Task random repeat running with task.seq=0
it seems that task.seq will never be 0
com.netflix.conductor.core.execution.WorkflowExecutor#scheduleTask
boolean scheduleTask(Workflow workflow, List<Task> tasks) {
List<Task> createdTasks;
try {
if (tasks == null || tasks.isEmpty()) {
return false;
}
// Get the highest seq number
int count = workflow.getTasks().stream()
.mapToInt(Task::getSeq)
.max()
.orElse(0);
for (Task task : tasks) {
if (task.getSeq() == 0) { // Set only if the seq was not set
task.setSeq(++count);
}
}
{
"ownerApp": "",
"createTime": 1584671900613,
"updateTime": 1584671903681,
"status": "COMPLETED",
"endTime": 1584671903681,
"workflowId": "92be9d41-400d-41a6-9027-340a307d3084",
"tasks": [
{
"taskType": "FORK",
"status": "COMPLETED",
"inputData": {},
"referenceTaskName": "Fork_0",
"retryCount": 0,
"seq": 1,
"correlationId": "",
"pollCount": 0,
"taskDefName": "FORK",
"scheduledTime": 1584671901232,
"startTime": 1584671901170,
"endTime": 1584671901282,
"updateTime": 1584671901282,
"startDelayInSeconds": 0,
"retried": false,
"executed": true,
"callbackFromWorker": true,
"responseTimeoutSeconds": 0,
"workflowInstanceId": "92be9d41-400d-41a6-9027-340a307d3084",
"workflowType": "pto-site",
"taskId": "f841e171-6340-42b9-bda0-fcbb208a5931",
"callbackAfterSeconds": 0,
"outputData": {},
"workflowTask": {
"name": "Fork",
"taskReferenceName": "Fork_0",
"inputParameters": {},
"type": "FORK_JOIN",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [
[
{
"name": "test",
"taskReferenceName": "test_0",
"description": "",
"inputParameters": {
"acc_nbr": 100,
"consume": 200,
"ngf": 5
},
"type": "SUB_WORKFLOW",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"subWorkflowParam": {
"name": "test",
"version": 1
},
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
[
{
"name": "test",
"taskReferenceName": "test_1",
"description": "",
"inputParameters": {
"acc_nbr": 55,
"consume": 6,
"ngf": 6
},
"type": "SUB_WORKFLOW",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"subWorkflowParam": {
"name": "test",
"version": 1
},
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
]
],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
"rateLimitPerFrequency": 0,
"rateLimitFrequencyInSeconds": 0,
"workflowPriority": 0,
"iteration": 0,
"taskDefinition": {
"present": false
},
"loopOverTask": false,
"queueWaitTime": -62,
"taskStatus": "COMPLETED"
},
{
"taskType": "SUB_WORKFLOW",
"status": "COMPLETED",
"inputData": {
"workflowInput": {
"acc_nbr": 100,
"consume": 200,
"ngf": 5
},
"subWorkflowId": "ab2b1c39-8d1b-442b-8757-288da92c9e2f",
"subWorkflowTaskToDomain": null,
"subWorkflowName": "test",
"subWorkflowVersion": 1
},
"referenceTaskName": "test_0",
"retryCount": 0,
"seq": 2,
"correlationId": "",
"pollCount": 0,
"taskDefName": "test",
"scheduledTime": 1584671901252,
"startTime": 1584671901297,
"endTime": 1584671902406,
"updateTime": 1584671901405,
"startDelayInSeconds": 0,
"retried": false,
"executed": true,
"callbackFromWorker": true,
"responseTimeoutSeconds": 0,
"workflowInstanceId": "92be9d41-400d-41a6-9027-340a307d3084",
"workflowType": "pto-site",
"taskId": "4dcf126c-964f-4fe7-a6cd-95ac1e503f8e",
"callbackAfterSeconds": 0,
"outputData": {
"subWorkflowId": "ab2b1c39-8d1b-442b-8757-288da92c9e2f",
"response": {
"headers": {
"Transfer-Encoding": [
"chunked"
],
"X-Application-Context": [
"application"
],
"Date": [
"Fri, 20 Mar 2020 02:38:21 GMT"
],
"Content-Type": [
"application/json;charset=UTF-8"
]
},
"reasonPhrase": "OK",
"body": {
"cust_name": "Adidas",
"vip": false
},
"statusCode": 200
}
},
"workflowTask": {
"name": "test",
"taskReferenceName": "test_0",
"description": "",
"inputParameters": {
"acc_nbr": 100,
"consume": 200,
"ngf": 5
},
"type": "SUB_WORKFLOW",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"subWorkflowParam": {
"name": "test",
"version": 1
},
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
"rateLimitPerFrequency": 0,
"rateLimitFrequencyInSeconds": 0,
"workflowPriority": 0,
"iteration": 0,
"taskDefinition": {
"present": false
},
"loopOverTask": false,
"queueWaitTime": 45,
"taskStatus": "COMPLETED"
},
{
"taskType": "SUB_WORKFLOW",
"status": "COMPLETED",
"inputData": {
"workflowInput": {
"acc_nbr": 55,
"consume": 6,
"ngf": 6
},
"subWorkflowId": "f72cf8ed-7b9f-4880-b11a-8412bd2bb0bb",
"subWorkflowTaskToDomain": null,
"subWorkflowName": "test",
"subWorkflowVersion": 1
},
"referenceTaskName": "test_1",
"retryCount": 0,
"seq": 3,
"correlationId": "",
"pollCount": 0,
"taskDefName": "test",
"scheduledTime": 1584671901266,
"startTime": 1584671901411,
"endTime": 1584671902411,
"updateTime": 1584671901491,
"startDelayInSeconds": 0,
"retried": false,
"executed": true,
"callbackFromWorker": true,
"responseTimeoutSeconds": 0,
"workflowInstanceId": "92be9d41-400d-41a6-9027-340a307d3084",
"workflowType": "pto-site",
"taskId": "e23a9e55-0ce1-459a-a0a0-36110f85ef22",
"callbackAfterSeconds": 0,
"outputData": {
"subWorkflowId": "f72cf8ed-7b9f-4880-b11a-8412bd2bb0bb",
"response": {
"headers": {
"Transfer-Encoding": [
"chunked"
],
"X-Application-Context": [
"application"
],
"Date": [
"Fri, 20 Mar 2020 02:38:21 GMT"
],
"Content-Type": [
"application/json;charset=UTF-8"
]
},
"reasonPhrase": "OK",
"body": {
"cust_name": "Adidas",
"vip": false
},
"statusCode": 200
}
},
"workflowTask": {
"name": "test",
"taskReferenceName": "test_1",
"description": "",
"inputParameters": {
"acc_nbr": 55,
"consume": 6,
"ngf": 6
},
"type": "SUB_WORKFLOW",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"subWorkflowParam": {
"name": "test",
"version": 1
},
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
"rateLimitPerFrequency": 0,
"rateLimitFrequencyInSeconds": 0,
"workflowPriority": 0,
"iteration": 0,
"taskDefinition": {
"present": false
},
"loopOverTask": false,
"queueWaitTime": 145,
"taskStatus": "COMPLETED"
},
{
"taskType": "JOIN",
"status": "COMPLETED",
"inputData": {
"joinOn": [
"test_0",
"test_1"
]
},
"referenceTaskName": "Join_0",
"retryCount": 0,
"seq": 4,
"correlationId": "",
"pollCount": 0,
"taskDefName": "JOIN",
"scheduledTime": 1584671901669,
"startTime": 1584671901609,
"endTime": 1584671902418,
"updateTime": 1584671901693,
"startDelayInSeconds": 0,
"retried": false,
"executed": true,
"callbackFromWorker": true,
"responseTimeoutSeconds": 0,
"workflowInstanceId": "92be9d41-400d-41a6-9027-340a307d3084",
"workflowType": "pto-site",
"taskId": "0964db77-7ce1-4df2-94b2-a6ea6fa54ca9",
"callbackAfterSeconds": 0,
"outputData": {
"test_1": {
"subWorkflowId": "f72cf8ed-7b9f-4880-b11a-8412bd2bb0bb",
"response": {
"headers": {
"Transfer-Encoding": [
"chunked"
],
"X-Application-Context": [
"application"
],
"Date": [
"Fri, 20 Mar 2020 02:38:21 GMT"
],
"Content-Type": [
"application/json;charset=UTF-8"
]
},
"reasonPhrase": "OK",
"body": {
"cust_name": "Adidas",
"vip": false
},
"statusCode": 200
}
},
"test_0": {
"subWorkflowId": "ab2b1c39-8d1b-442b-8757-288da92c9e2f",
"response": {
"headers": {
"Transfer-Encoding": [
"chunked"
],
"X-Application-Context": [
"application"
],
"Date": [
"Fri, 20 Mar 2020 02:38:21 GMT"
],
"Content-Type": [
"application/json;charset=UTF-8"
]
},
"reasonPhrase": "OK",
"body": {
"cust_name": "Adidas",
"vip": false
},
"statusCode": 200
}
}
},
"workflowTask": {
"name": "Join",
"taskReferenceName": "Join_0",
"inputParameters": {},
"type": "JOIN",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [
"test_0",
"test_1"
],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
"rateLimitPerFrequency": 0,
"rateLimitFrequencyInSeconds": 0,
"workflowPriority": 0,
"iteration": 0,
"taskDefinition": {
"present": false
},
"loopOverTask": false,
"queueWaitTime": -60,
"taskStatus": "COMPLETED"
},
{
"taskType": "DECISION",
"status": "COMPLETED",
"inputData": {
"hasChildren": "true",
"case": "inactive"
},
"referenceTaskName": "Decision_0",
"retryCount": 0,
"seq": 0,
"correlationId": "",
"pollCount": 0,
"taskDefName": "DECISION",
"scheduledTime": 1584671903132,
"startTime": 1584671903132,
"endTime": 1584671903245,
"updateTime": 1584671903245,
"startDelayInSeconds": 0,
"retried": false,
"executed": true,
"callbackFromWorker": true,
"responseTimeoutSeconds": 0,
"workflowInstanceId": "92be9d41-400d-41a6-9027-340a307d3084",
"workflowType": "pto-site",
"taskId": "3dba2019-bfa3-4d72-8c23-3cffa1516107",
"callbackAfterSeconds": 0,
"outputData": {
"caseOutput": [
"inactive"
]
},
"workflowTask": {
"name": "ProdStatus rule",
"taskReferenceName": "Decision_0",
"description": "",
"inputParameters": {
"prodinterface": "00000",
"prodstatus": 20000
},
"type": "DECISION",
"caseExpression": "function scriptFun(){if(($.prodinterface==0000) && ($.prodstatus==100000)) {\n return \"active\"\n }else if(($.prodinterface==0000) && ($.prodstatus!=100000)) {\n return \"inactive\"\n }else if(($.prodinterface!=0000)) {\n return \"notexist\"\n }} scriptFun();",
"decisionCases": {
"active": [
{
"name": "Active",
"taskReferenceName": "Lambda _2",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Whether the customer is active\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"The customer status is active\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
{
"name": "Balance rule",
"taskReferenceName": "Decision_1",
"description": "",
"inputParameters": {
"balance": 500,
"balinterface": 5
},
"type": "DECISION",
"caseExpression": "function scriptFun(){if(($.balinterface==0000) && ($.balance>=10)) {\n return \"lot\"\n }else if(($.balinterface==0000) && ($.balance<10) && ($.balance>=0)) {\n return \"less\"\n }else if(($.balinterface==0000) && ($.balance<0)) {\n return \"arrears\"\n }else if(($.balinterface!=0000)) {\n return \"notexist\"\n }} scriptFun();",
"decisionCases": {
"lot": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _3",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"The balance of customer is : ${Http_1.output.response.body.result.formatRealBal}\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"less": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _4",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"Your balance is insufficient. Please recharge as soon as possible. At present, we have launched a recharge offer.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"notexist": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _6",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"0\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"arrears": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _5",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"Sorry, you are in arrears. Please recharge as soon as possible.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
]
},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"inactive": [
{
"name": "Inactive",
"taskReferenceName": "Lambda _0",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Whether the customer is active?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"The customer status is inactive\",\"link\":\"Please configure in the sub table Links\",\"links\":\"[{\\\"key\\\":\\\"1-1\\\",\\\"text\\\":\\\"\\\",\\\"url\\\":\\\"http:abcd.com\\\"}]\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
{
"name": "Balance rule",
"taskReferenceName": "Decision_1",
"description": "",
"inputParameters": {
"balance": 500,
"balinterface": 5
},
"type": "DECISION",
"caseExpression": "function scriptFun(){if(($.balinterface==0000) && ($.balance>=10)) {\n return \"lot\"\n }else if(($.balinterface==0000) && ($.balance<10) && ($.balance>=0)) {\n return \"less\"\n }else if(($.balinterface==0000) && ($.balance<0)) {\n return \"arrears\"\n }else if(($.balinterface!=0000)) {\n return \"notexist\"\n }} scriptFun();",
"decisionCases": {
"lot": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _3",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"The balance of customer is : ${Http_1.output.response.body.result.formatRealBal}\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"less": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _4",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"Your balance is insufficient. Please recharge as soon as possible. At present, we have launched a recharge offer.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"notexist": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _6",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"0\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"arrears": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _5",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"Sorry, you are in arrears. Please recharge as soon as possible.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
]
},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"notexist": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _1",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Does the customer order product A ?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
{
"name": "Balance rule",
"taskReferenceName": "Decision_1",
"description": "",
"inputParameters": {
"balance": 500,
"balinterface": 5
},
"type": "DECISION",
"caseExpression": "function scriptFun(){if(($.balinterface==0000) && ($.balance>=10)) {\n return \"lot\"\n }else if(($.balinterface==0000) && ($.balance<10) && ($.balance>=0)) {\n return \"less\"\n }else if(($.balinterface==0000) && ($.balance<0)) {\n return \"arrears\"\n }else if(($.balinterface!=0000)) {\n return \"notexist\"\n }} scriptFun();",
"decisionCases": {
"lot": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _3",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"The balance of customer is : ${Http_1.output.response.body.result.formatRealBal}\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"less": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _4",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"Your balance is insufficient. Please recharge as soon as possible. At present, we have launched a recharge offer.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"notexist": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _6",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"0\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"arrears": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _5",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"Sorry, you are in arrears. Please recharge as soon as possible.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
]
},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
]
},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
"rateLimitPerFrequency": 0,
"rateLimitFrequencyInSeconds": 0,
"workflowPriority": 0,
"iteration": 0,
"taskDefinition": {
"present": false
},
"loopOverTask": false,
"queueWaitTime": 0,
"taskStatus": "COMPLETED"
},
{
"taskType": "LAMBDA",
"status": "COMPLETED",
"inputData": {
"scriptExpression": "if(true) { return {\"title\":\"Whether the customer is active?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"The customer status is inactive\",\"link\":\"Please configure in the sub table Links\",\"links\":\"[{\\\"key\\\":\\\"1-1\\\",\\\"text\\\":\\\"\\\",\\\"url\\\":\\\"http:abcd.com\\\"}]\"}]}}"
},
"referenceTaskName": "Lambda _0",
"retryCount": 0,
"seq": 0,
"correlationId": "",
"pollCount": 0,
"taskDefName": "Inactive",
"scheduledTime": 1584671903133,
"startTime": 0,
"endTime": 1584671903259,
"updateTime": 1584671903259,
"startDelayInSeconds": 0,
"retried": false,
"executed": true,
"callbackFromWorker": true,
"responseTimeoutSeconds": 0,
"workflowInstanceId": "92be9d41-400d-41a6-9027-340a307d3084",
"workflowType": "pto-site",
"taskId": "70f71a92-374a-4b94-90a2-0615a158ac55",
"callbackAfterSeconds": 0,
"outputData": {
"result": {
"title": "Whether the customer is active?",
"result": "false",
"itmes": {
"0": {
"key": "1",
"description": "The customer status is inactive",
"link": "Please configure in the sub table Links",
"links": "[{\"key\":\"1-1\",\"text\":\"\",\"url\":\"http:abcd.com\"}]"
}
}
}
},
"workflowTask": {
"name": "Inactive",
"taskReferenceName": "Lambda _0",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Whether the customer is active?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"The customer status is inactive\",\"link\":\"Please configure in the sub table Links\",\"links\":\"[{\\\"key\\\":\\\"1-1\\\",\\\"text\\\":\\\"\\\",\\\"url\\\":\\\"http:abcd.com\\\"}]\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
"rateLimitPerFrequency": 0,
"rateLimitFrequencyInSeconds": 0,
"workflowPriority": 0,
"iteration": 0,
"taskDefinition": {
"present": false
},
"loopOverTask": false,
"queueWaitTime": 0,
"taskStatus": "COMPLETED"
},
{
"taskType": "DECISION",
"status": "COMPLETED",
"inputData": {
"hasChildren": "true",
"case": "inactive"
},
"referenceTaskName": "Decision_0",
"retryCount": 0,
"seq": 5,
"correlationId": "",
"pollCount": 0,
"taskDefName": "DECISION",
"scheduledTime": 1584671903273,
"startTime": 1584671903132,
"endTime": 1584671903202,
"updateTime": 1584671903202,
"startDelayInSeconds": 0,
"retried": false,
"executed": true,
"callbackFromWorker": true,
"responseTimeoutSeconds": 0,
"workflowInstanceId": "92be9d41-400d-41a6-9027-340a307d3084",
"workflowType": "pto-site",
"taskId": "44dd07bf-84ee-4d74-aad9-6629f9f79f7f",
"callbackAfterSeconds": 0,
"outputData": {
"caseOutput": [
"inactive"
]
},
"workflowTask": {
"name": "ProdStatus rule",
"taskReferenceName": "Decision_0",
"description": "",
"inputParameters": {
"prodinterface": "00000",
"prodstatus": 20000
},
"type": "DECISION",
"caseExpression": "function scriptFun(){if(($.prodinterface==0000) && ($.prodstatus==100000)) {\n return \"active\"\n }else if(($.prodinterface==0000) && ($.prodstatus!=100000)) {\n return \"inactive\"\n }else if(($.prodinterface!=0000)) {\n return \"notexist\"\n }} scriptFun();",
"decisionCases": {
"active": [
{
"name": "Active",
"taskReferenceName": "Lambda _2",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Whether the customer is active\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"The customer status is active\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
{
"name": "Balance rule",
"taskReferenceName": "Decision_1",
"description": "",
"inputParameters": {
"balance": 500,
"balinterface": 5
},
"type": "DECISION",
"caseExpression": "function scriptFun(){if(($.balinterface==0000) && ($.balance>=10)) {\n return \"lot\"\n }else if(($.balinterface==0000) && ($.balance<10) && ($.balance>=0)) {\n return \"less\"\n }else if(($.balinterface==0000) && ($.balance<0)) {\n return \"arrears\"\n }else if(($.balinterface!=0000)) {\n return \"notexist\"\n }} scriptFun();",
"decisionCases": {
"lot": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _3",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"The balance of customer is : ${Http_1.output.response.body.result.formatRealBal}\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"less": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _4",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"Your balance is insufficient. Please recharge as soon as possible. At present, we have launched a recharge offer.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"notexist": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _6",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"0\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"arrears": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _5",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"Sorry, you are in arrears. Please recharge as soon as possible.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
]
},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"inactive": [
{
"name": "Inactive",
"taskReferenceName": "Lambda _0",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Whether the customer is active?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"The customer status is inactive\",\"link\":\"Please configure in the sub table Links\",\"links\":\"[{\\\"key\\\":\\\"1-1\\\",\\\"text\\\":\\\"\\\",\\\"url\\\":\\\"http:abcd.com\\\"}]\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
{
"name": "Balance rule",
"taskReferenceName": "Decision_1",
"description": "",
"inputParameters": {
"balance": 500,
"balinterface": 5
},
"type": "DECISION",
"caseExpression": "function scriptFun(){if(($.balinterface==0000) && ($.balance>=10)) {\n return \"lot\"\n }else if(($.balinterface==0000) && ($.balance<10) && ($.balance>=0)) {\n return \"less\"\n }else if(($.balinterface==0000) && ($.balance<0)) {\n return \"arrears\"\n }else if(($.balinterface!=0000)) {\n return \"notexist\"\n }} scriptFun();",
"decisionCases": {
"lot": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _3",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"The balance of customer is : ${Http_1.output.response.body.result.formatRealBal}\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"less": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _4",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"Your balance is insufficient. Please recharge as soon as possible. At present, we have launched a recharge offer.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"notexist": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _6",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"0\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"arrears": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _5",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"Sorry, you are in arrears. Please recharge as soon as possible.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
]
},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"notexist": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _1",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Does the customer order product A ?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
{
"name": "Balance rule",
"taskReferenceName": "Decision_1",
"description": "",
"inputParameters": {
"balance": 500,
"balinterface": 5
},
"type": "DECISION",
"caseExpression": "function scriptFun(){if(($.balinterface==0000) && ($.balance>=10)) {\n return \"lot\"\n }else if(($.balinterface==0000) && ($.balance<10) && ($.balance>=0)) {\n return \"less\"\n }else if(($.balinterface==0000) && ($.balance<0)) {\n return \"arrears\"\n }else if(($.balinterface!=0000)) {\n return \"notexist\"\n }} scriptFun();",
"decisionCases": {
"lot": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _3",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"The balance of customer is : ${Http_1.output.response.body.result.formatRealBal}\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"less": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _4",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"Your balance is insufficient. Please recharge as soon as possible. At present, we have launched a recharge offer.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"notexist": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _6",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"0\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"arrears": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _5",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"Sorry, you are in arrears. Please recharge as soon as possible.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
]
},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
]
},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
"rateLimitPerFrequency": 0,
"rateLimitFrequencyInSeconds": 0,
"workflowPriority": 0,
"iteration": 0,
"taskDefinition": {
"present": false
},
"loopOverTask": false,
"queueWaitTime": -141,
"taskStatus": "COMPLETED"
},
{
"taskType": "LAMBDA",
"status": "COMPLETED",
"inputData": {
"scriptExpression": "if(true) { return {\"title\":\"Whether the customer is active?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"The customer status is inactive\",\"link\":\"Please configure in the sub table Links\",\"links\":\"[{\\\"key\\\":\\\"1-1\\\",\\\"text\\\":\\\"\\\",\\\"url\\\":\\\"http:abcd.com\\\"}]\"}]}}"
},
"referenceTaskName": "Lambda _0",
"retryCount": 0,
"seq": 6,
"correlationId": "",
"pollCount": 0,
"taskDefName": "Inactive",
"scheduledTime": 1584671903286,
"startTime": 0,
"endTime": 1584671903241,
"updateTime": 1584671903241,
"startDelayInSeconds": 0,
"retried": false,
"executed": true,
"callbackFromWorker": true,
"responseTimeoutSeconds": 0,
"workflowInstanceId": "92be9d41-400d-41a6-9027-340a307d3084",
"workflowType": "pto-site",
"taskId": "515ea1e1-c0b4-44b5-8506-5265ed56eadd",
"callbackAfterSeconds": 0,
"outputData": {
"result": {
"title": "Whether the customer is active?",
"result": "false",
"itmes": {
"0": {
"key": "1",
"description": "The customer status is inactive",
"link": "Please configure in the sub table Links",
"links": "[{\"key\":\"1-1\",\"text\":\"\",\"url\":\"http:abcd.com\"}]"
}
}
}
},
"workflowTask": {
"name": "Inactive",
"taskReferenceName": "Lambda _0",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Whether the customer is active?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"The customer status is inactive\",\"link\":\"Please configure in the sub table Links\",\"links\":\"[{\\\"key\\\":\\\"1-1\\\",\\\"text\\\":\\\"\\\",\\\"url\\\":\\\"http:abcd.com\\\"}]\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
"rateLimitPerFrequency": 0,
"rateLimitFrequencyInSeconds": 0,
"workflowPriority": 0,
"iteration": 0,
"taskDefinition": {
"present": false
},
"loopOverTask": false,
"queueWaitTime": 0,
"taskStatus": "COMPLETED"
},
{
"taskType": "LAMBDA",
"status": "COMPLETED",
"inputData": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"0\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"referenceTaskName": "Lambda _6",
"retryCount": 0,
"seq": 0,
"correlationId": "",
"pollCount": 0,
"taskDefName": "Lambda ",
"scheduledTime": 1584671903410,
"startTime": 0,
"endTime": 1584671903515,
"updateTime": 1584671903515,
"startDelayInSeconds": 0,
"retried": false,
"executed": true,
"callbackFromWorker": true,
"responseTimeoutSeconds": 0,
"workflowInstanceId": "92be9d41-400d-41a6-9027-340a307d3084",
"workflowType": "pto-site",
"taskId": "0a971ac1-6d9d-478f-abc7-680ddae63690",
"callbackAfterSeconds": 0,
"outputData": {
"result": {
"title": "Is there any balance in this number?",
"result": "false",
"itmes": {
"0": {
"key": "0",
"description": "Sorry, we can't find the information of this number. Please make sure the number is correct.",
"link": "Please configure in the sub table Links"
}
}
}
},
"workflowTask": {
"name": "Lambda ",
"taskReferenceName": "Lambda _6",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"0\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
"rateLimitPerFrequency": 0,
"rateLimitFrequencyInSeconds": 0,
"workflowPriority": 0,
"iteration": 0,
"taskDefinition": {
"present": false
},
"loopOverTask": false,
"queueWaitTime": 0,
"taskStatus": "COMPLETED"
},
{
"taskType": "DECISION",
"status": "COMPLETED",
"inputData": {
"hasChildren": "true",
"case": "notexist"
},
"referenceTaskName": "Decision_1",
"retryCount": 0,
"seq": 0,
"correlationId": "",
"pollCount": 0,
"taskDefName": "DECISION",
"scheduledTime": 1584671903410,
"startTime": 1584671903410,
"endTime": 1584671903502,
"updateTime": 1584671903502,
"startDelayInSeconds": 0,
"retried": false,
"executed": true,
"callbackFromWorker": true,
"responseTimeoutSeconds": 0,
"workflowInstanceId": "92be9d41-400d-41a6-9027-340a307d3084",
"workflowType": "pto-site",
"taskId": "37b57709-5628-417e-b4c2-bc2a8632bb38",
"callbackAfterSeconds": 0,
"outputData": {
"caseOutput": [
"notexist"
]
},
"workflowTask": {
"name": "Balance rule",
"taskReferenceName": "Decision_1",
"description": "",
"inputParameters": {
"balance": 500,
"balinterface": 5
},
"type": "DECISION",
"caseExpression": "function scriptFun(){if(($.balinterface==0000) && ($.balance>=10)) {\n return \"lot\"\n }else if(($.balinterface==0000) && ($.balance<10) && ($.balance>=0)) {\n return \"less\"\n }else if(($.balinterface==0000) && ($.balance<0)) {\n return \"arrears\"\n }else if(($.balinterface!=0000)) {\n return \"notexist\"\n }} scriptFun();",
"decisionCases": {
"lot": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _3",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"The balance of customer is : ${Http_1.output.response.body.result.formatRealBal}\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"less": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _4",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"Your balance is insufficient. Please recharge as soon as possible. At present, we have launched a recharge offer.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"notexist": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _6",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"0\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"arrears": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _5",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"Sorry, you are in arrears. Please recharge as soon as possible.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
]
},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
"rateLimitPerFrequency": 0,
"rateLimitFrequencyInSeconds": 0,
"workflowPriority": 0,
"iteration": 0,
"taskDefinition": {
"present": false
},
"loopOverTask": false,
"queueWaitTime": 0,
"taskStatus": "COMPLETED"
},
{
"taskType": "DECISION",
"status": "COMPLETED",
"inputData": {
"hasChildren": "true",
"case": "notexist"
},
"referenceTaskName": "Decision_1",
"retryCount": 0,
"seq": 7,
"correlationId": "",
"pollCount": 0,
"taskDefName": "DECISION",
"scheduledTime": 1584671903534,
"startTime": 1584671903411,
"endTime": 1584671903498,
"updateTime": 1584671903498,
"startDelayInSeconds": 0,
"retried": false,
"executed": true,
"callbackFromWorker": true,
"responseTimeoutSeconds": 0,
"workflowInstanceId": "92be9d41-400d-41a6-9027-340a307d3084",
"workflowType": "pto-site",
"taskId": "c9ea20bc-8b30-4fa2-9b10-fd093a4ebddb",
"callbackAfterSeconds": 0,
"outputData": {
"caseOutput": [
"notexist"
]
},
"workflowTask": {
"name": "Balance rule",
"taskReferenceName": "Decision_1",
"description": "",
"inputParameters": {
"balance": 500,
"balinterface": 5
},
"type": "DECISION",
"caseExpression": "function scriptFun(){if(($.balinterface==0000) && ($.balance>=10)) {\n return \"lot\"\n }else if(($.balinterface==0000) && ($.balance<10) && ($.balance>=0)) {\n return \"less\"\n }else if(($.balinterface==0000) && ($.balance<0)) {\n return \"arrears\"\n }else if(($.balinterface!=0000)) {\n return \"notexist\"\n }} scriptFun();",
"decisionCases": {
"lot": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _3",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"The balance of customer is : ${Http_1.output.response.body.result.formatRealBal}\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"less": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _4",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"Your balance is insufficient. Please recharge as soon as possible. At present, we have launched a recharge offer.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"notexist": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _6",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"0\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"arrears": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _5",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"Sorry, you are in arrears. Please recharge as soon as possible.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
]
},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
"rateLimitPerFrequency": 0,
"rateLimitFrequencyInSeconds": 0,
"workflowPriority": 0,
"iteration": 0,
"taskDefinition": {
"present": false
},
"loopOverTask": false,
"queueWaitTime": -123,
"taskStatus": "COMPLETED"
},
{
"taskType": "LAMBDA",
"status": "COMPLETED",
"inputData": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"0\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"referenceTaskName": "Lambda _6",
"retryCount": 0,
"seq": 8,
"correlationId": "",
"pollCount": 0,
"taskDefName": "Lambda ",
"scheduledTime": 1584671903549,
"startTime": 0,
"endTime": 1584671903512,
"updateTime": 1584671903512,
"startDelayInSeconds": 0,
"retried": false,
"executed": true,
"callbackFromWorker": true,
"responseTimeoutSeconds": 0,
"workflowInstanceId": "92be9d41-400d-41a6-9027-340a307d3084",
"workflowType": "pto-site",
"taskId": "9b13a9db-17ab-4f3e-8293-eaac5a9f2087",
"callbackAfterSeconds": 0,
"outputData": {
"result": {
"title": "Is there any balance in this number?",
"result": "false",
"itmes": {
"0": {
"key": "0",
"description": "Sorry, we can't find the information of this number. Please make sure the number is correct.",
"link": "Please configure in the sub table Links"
}
}
}
},
"workflowTask": {
"name": "Lambda ",
"taskReferenceName": "Lambda _6",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"0\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
"rateLimitPerFrequency": 0,
"rateLimitFrequencyInSeconds": 0,
"workflowPriority": 0,
"iteration": 0,
"taskDefinition": {
"present": false
},
"loopOverTask": false,
"queueWaitTime": 0,
"taskStatus": "COMPLETED"
}
],
"input": {},
"output": {
"result": {
"title": "Is there any balance in this number?",
"result": "false",
"itmes": {
"0": {
"key": "0",
"description": "Sorry, we can't find the information of this number. Please make sure the number is correct.",
"link": "Please configure in the sub table Links"
}
}
}
},
"workflowType": "pto-site",
"version": 3,
"correlationId": "",
"schemaVersion": 2,
"taskToDomain": {},
"failedReferenceTaskNames": [],
"workflowDefinition": {
"createTime": 1584026093181,
"updateTime": 1584088546008,
"name": "pto-site",
"description": "",
"version": 3,
"tasks": [
{
"name": "Fork",
"taskReferenceName": "Fork_0",
"inputParameters": {},
"type": "FORK_JOIN",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [
[
{
"name": "test",
"taskReferenceName": "test_0",
"description": "",
"inputParameters": {
"acc_nbr": 100,
"consume": 200,
"ngf": 5
},
"type": "SUB_WORKFLOW",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"subWorkflowParam": {
"name": "test",
"version": 1
},
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
[
{
"name": "test",
"taskReferenceName": "test_1",
"description": "",
"inputParameters": {
"acc_nbr": 55,
"consume": 6,
"ngf": 6
},
"type": "SUB_WORKFLOW",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"subWorkflowParam": {
"name": "test",
"version": 1
},
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
]
],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
{
"name": "Join",
"taskReferenceName": "Join_0",
"inputParameters": {},
"type": "JOIN",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [
"test_0",
"test_1"
],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
{
"name": "ProdStatus rule",
"taskReferenceName": "Decision_0",
"description": "",
"inputParameters": {
"prodinterface": "00000",
"prodstatus": 20000
},
"type": "DECISION",
"caseExpression": "function scriptFun(){if(($.prodinterface==0000) && ($.prodstatus==100000)) {\n return \"active\"\n }else if(($.prodinterface==0000) && ($.prodstatus!=100000)) {\n return \"inactive\"\n }else if(($.prodinterface!=0000)) {\n return \"notexist\"\n }} scriptFun();",
"decisionCases": {
"active": [
{
"name": "Active",
"taskReferenceName": "Lambda _2",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Whether the customer is active\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"The customer status is active\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
{
"name": "Balance rule",
"taskReferenceName": "Decision_1",
"description": "",
"inputParameters": {
"balance": 500,
"balinterface": 5
},
"type": "DECISION",
"caseExpression": "function scriptFun(){if(($.balinterface==0000) && ($.balance>=10)) {\n return \"lot\"\n }else if(($.balinterface==0000) && ($.balance<10) && ($.balance>=0)) {\n return \"less\"\n }else if(($.balinterface==0000) && ($.balance<0)) {\n return \"arrears\"\n }else if(($.balinterface!=0000)) {\n return \"notexist\"\n }} scriptFun();",
"decisionCases": {
"lot": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _3",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"The balance of customer is : ${Http_1.output.response.body.result.formatRealBal}\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"less": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _4",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"Your balance is insufficient. Please recharge as soon as possible. At present, we have launched a recharge offer.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"notexist": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _6",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"0\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"arrears": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _5",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"Sorry, you are in arrears. Please recharge as soon as possible.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
]
},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"inactive": [
{
"name": "Inactive",
"taskReferenceName": "Lambda _0",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Whether the customer is active?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"The customer status is inactive\",\"link\":\"Please configure in the sub table Links\",\"links\":\"[{\\\"key\\\":\\\"1-1\\\",\\\"text\\\":\\\"\\\",\\\"url\\\":\\\"http:abcd.com\\\"}]\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
{
"name": "Balance rule",
"taskReferenceName": "Decision_1",
"description": "",
"inputParameters": {
"balance": 500,
"balinterface": 5
},
"type": "DECISION",
"caseExpression": "function scriptFun(){if(($.balinterface==0000) && ($.balance>=10)) {\n return \"lot\"\n }else if(($.balinterface==0000) && ($.balance<10) && ($.balance>=0)) {\n return \"less\"\n }else if(($.balinterface==0000) && ($.balance<0)) {\n return \"arrears\"\n }else if(($.balinterface!=0000)) {\n return \"notexist\"\n }} scriptFun();",
"decisionCases": {
"lot": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _3",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"The balance of customer is : ${Http_1.output.response.body.result.formatRealBal}\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"less": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _4",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"Your balance is insufficient. Please recharge as soon as possible. At present, we have launched a recharge offer.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"notexist": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _6",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"0\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"arrears": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _5",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"Sorry, you are in arrears. Please recharge as soon as possible.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
]
},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"notexist": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _1",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Does the customer order product A ?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
{
"name": "Balance rule",
"taskReferenceName": "Decision_1",
"description": "",
"inputParameters": {
"balance": 500,
"balinterface": 5
},
"type": "DECISION",
"caseExpression": "function scriptFun(){if(($.balinterface==0000) && ($.balance>=10)) {\n return \"lot\"\n }else if(($.balinterface==0000) && ($.balance<10) && ($.balance>=0)) {\n return \"less\"\n }else if(($.balinterface==0000) && ($.balance<0)) {\n return \"arrears\"\n }else if(($.balinterface!=0000)) {\n return \"notexist\"\n }} scriptFun();",
"decisionCases": {
"lot": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _3",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"The balance of customer is : ${Http_1.output.response.body.result.formatRealBal}\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"less": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _4",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"true\",\"itmes\":[{\"key\":\"2\",\"description\":\"Your balance is insufficient. Please recharge as soon as possible. At present, we have launched a recharge offer.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"notexist": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _6",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"0\",\"description\":\"Sorry, we can't find the information of this number. Please make sure the number is correct.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"arrears": [
{
"name": "Lambda ",
"taskReferenceName": "Lambda _5",
"description": "",
"inputParameters": {
"scriptExpression": "if(true) { return {\"title\":\"Is there any balance in this number?\",\"result\":\"false\",\"itmes\":[{\"key\":\"1\",\"description\":\"Sorry, you are in arrears. Please recharge as soon as possible.\",\"link\":\"Please configure in the sub table Links\"}]}}"
},
"type": "LAMBDA",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
]
},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
]
},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"inputParameters": [
"acc_nbr"
],
"outputParameters": {},
"schemaVersion": 2,
"restartable": true,
"workflowStatusListenerEnabled": false
},
"priority": 0,
"startTime": 1584671900613,
"workflowName": "pto-site",
"workflowVersion": 3
}
@htpbackup Thanks for reporting this. I have labeled this as a bug and we will look into fixing this in an upcoming release. Please feel free to contribute a fix in the meantime.