elsa-workflows / elsa-workflows/elsa-core
Problem while using user task and SQL server
- Dominant language
- C#
- Stars
- 7.9k
- Forks
- 1.5k
- Avg merge
- 15h 22m
- Merged PRs (30d)
- 114
Description
Hello
I found some major issue while using UserTask Activity in my process
The main idea is that if I run my workflow, which contains user task it works well, I can trigger my workflow and continue it from UserTask activity but if I kill my process and run it again, process unable to continue from bookmarked UserTask
I had created sample project to introduce this issue. its attached in current issue.
P.S. I'm using SQL server for my database and while I creating this sample project, i fond that problem doe's not occurred for SQL lite
Also one thing, I think there are missing attribute in UserTask's Actions property, I think it's requires to add IsDesignerCritical Attribute, beacause of this, it is not shown properly in designer.
Please help me to fix this issue, I think it's important for everyone.
Thanks
[Elsa.UserTask.Test.zip](https://github.com/elsa-workflows/elsa-core/files/10334706/Elsa.UserTask.Test.zip)
Contributor guide
Research direction
Start with the attached Elsa.UserTask.Test.zip sample and reproduce the bookmarked UserTask failure after restarting with SQL Server, comparing it with SQLite. Then inspect UserTask persistence and the Actions property used by the designer. Done means the workflow resumes after restart on SQL Server and the UserTask actions display correctly in the designer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100