I have a bunch of forms that terminated because no form was selected in the assign user task. They used to suspend and you could fix the problem and resume the process.
How do I recover these forms in order to assign them to the user?
I have a bunch of forms that terminated because no form was selected in the assign user task. They used to suspend and you could fix the problem and resume the process.
How do I recover these forms in order to assign them to the user?
I don't think there is a way to recover terminated instances.
If the instance has terminated, there is no way to recover them.
When there is no form configured for the user task, it is always terminated since Forms 9. And it is not recoverable.
Thanks for posting this solution, the first task is a user task though and then a service task. I am having to recover the individual signatures from the variables and copy to individual copies of the entire process. Its a mess.
I know it can suspend on a user task, I recently had a situation where it was trying to assign to an anonymous user. The task suspended, I was able to fix the user task, then it continued without losing anything.
It really shouldn't be terminating until we have a chance to look, especially with signed forms.
This isn't for this specific issue, but in the Process Options there is a new option to send someone an email notification when an instance terminates, which we always enable. It has saved our neck a few times by helping us notice the issue early before too many submissions are made.
That is a good idea!
Could you theoretically use this with some modifications to automatically move a user task along? If you knew the status number for approved?
Do you mean automatically approve or reject a user task with SQL queries? The above query is not for this situation, there should be more queries to complete such action.
Yes that's what I mean Xiuhong. Is that possible? How complicated would the queries be?
What is the use case to auto approve or reject a user task? The task need to be assigned to an individual person then it can be approved/rejected and there will security control for this and record the action history. Running queries to auto approve/reject violate the security control and audit. This is not a way we suggest you to do.
We have enhanced this behavior with Forms 11, the user task will no longer become terminated if it has no form configured, it will be suspended instead. You can modify the process to configure the form then retry the suspended instance to recover them.