Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why jdbc doesn't work #62

Open
Klay-Zh opened this issue Feb 5, 2024 · 0 comments
Open

why jdbc doesn't work #62

Klay-Zh opened this issue Feb 5, 2024 · 0 comments

Comments

@Klay-Zh
Copy link

Klay-Zh commented Feb 5, 2024

Running Conductor Using Docker and start workflow, but the status of jdbc task is SCHEDULED

workflow definition:
{
"ownerApp": null,
"createTime": 1707025941567,
"updateTime": 1707124459517,
"createdBy": null,
"updatedBy": null,
"accessPolicy": {},
"name": "procure_approval",
"description": "procure_approval_test",
"version": 2,
"tasks": [
{
"name": "queryAmount",
"taskReferenceName": "query",
"description": null,
"inputParameters": {
"connectionId": "jdbc:mysql://[email protected]:32306/cnbmdb_train?user=root&password=Cnbm123456!",
"statement": "SELECT price from purchase_order where code = ? and status = 0",
"parameters": [
{
"code": "${workflow.input.code}"
}
],
"type": "SELECT"
},
"type": "JDBC",
"dynamicTaskNameParam": null,
"caseValueParam": null,
"caseExpression": null,
"scriptExpression": null,
"dynamicForkJoinTasksParam": null,
"dynamicForkTasksParam": null,
"dynamicForkTasksInputParamName": null,
"startDelay": 0,
"subWorkflowParam": null,
"sink": null,
"optional": false,
"taskDefinition": null,
"rateLimited": null,
"asyncComplete": false,
"loopCondition": null,
"retryCount": null,
"evaluatorType": null,
"expression": null
},
{
"name": "switch_task",
"taskReferenceName": "is_warning",
"description": null,
"inputParameters": {
"price": "${query.output.price}"
},
"type": "SWITCH",
"dynamicTaskNameParam": null,
"caseValueParam": null,
"caseExpression": null,
"scriptExpression": null,
"decisionCases": {
"approval": [
{
"name": "sendMessage",
"taskReferenceName": "message",
"description": null,
"inputParameters": {
"receiver": "${workflow.input.receiver}",
"content": "${workflow.input.code}is warning!"
},
"type": "SIMPLE",
"dynamicTaskNameParam": null,
"caseValueParam": null,
"caseExpression": null,
"scriptExpression": null,
"dynamicForkJoinTasksParam": null,
"dynamicForkTasksParam": null,
"dynamicForkTasksInputParamName": null,
"startDelay": 0,
"subWorkflowParam": null,
"sink": null,
"optional": false,
"taskDefinition": null,
"rateLimited": null,
"asyncComplete": false,
"loopCondition": null,
"retryCount": null,
"evaluatorType": null,
"expression": null
}
]
},
"dynamicForkJoinTasksParam": null,
"dynamicForkTasksParam": null,
"dynamicForkTasksInputParamName": null,
"startDelay": 0,
"subWorkflowParam": null,
"sink": null,
"optional": false,
"taskDefinition": null,
"rateLimited": null,
"asyncComplete": false,
"loopCondition": null,
"retryCount": null,
"evaluatorType": "javascript",
"expression": "$.price> 1000 ? 'approval' : ''"
}
],
"inputParameters": [],
"outputParameters": {},
"failureWorkflow": null,
"schemaVersion": 2,
"restartable": true,
"workflowStatusListenerEnabled": false,
"ownerEmail": "[email protected]",
"timeoutPolicy": "ALERT_ONLY",
"timeoutSeconds": 0,
"variables": {},
"inputTemplate": {}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant