elsa-workflows / elsa-workflows/elsa-core
Workflow fails to execute if UserTask is first thing in the Workflow
- Dominant language
- C#
- Stars
- 7.9k
- Forks
- 1.5k
- Avg merge
- 15h 22m
- Merged PRs (30d)
- 114
Description
This workflow fails to execute
```
{
"$id": "1",
"definitionId": "e3596886d3494fd2944d4ffa015bed75",
"versionId": "d000d695166543ce8d3a676bd8cc09f6",
"name": "SingleUserTaskBroken",
"displayName": "Single User Task (broken)",
"version": 1,
"variables": {
"$id": "2",
"data": {}
},
"customAttributes": {
"$id": "3",
"data": {}
},
"isSingleton": false,
"persistenceBehavior": "WorkflowBurst",
"deleteCompletedInstances": false,
"isPublished": true,
"isLatest": true,
"createdAt": "2023-10-13T14:38:39.6106915Z",
"activities": [
{
"$id": "4",
"activityId": "1c50db57-e299-4204-aa70-b7274e696235",
"type": "UserTask",
"displayName": "Single Task",
"persistWorkflow": false,
"loadWorkflowContext": false,
"saveWorkflowContext": false,
"properties": [
{
"$id": "5",
"name": "Actions",
"expressions": {
"$id": "6",
"Json": "[\"Finish\"]"
}
}
],
"propertyStorageProviders": {
"$id": "7"
}
}
],
"connections": [],
"id": "d000d695166543ce8d3a676bd8cc09f6"
}
```
if you add something before the UserTask (i used a 'SetName') then it works
Contributor guide
Assessment
This issue has not been assessed yet.