Hello dear community , this post will explain about the error “Submission failed, activity not available”.
This error will be encountered to user when the activity is no longer available or there is no further workflow for the activity.
For further explaination, in this post also share with you some example :
-
This is the workflow for the Ready solution : Candidate Registration
-
In the Candidate Registration, there is activity called “scan” which will changed the state “Registered” to “In” and “Out”.
-
The ready solution use 2 ways to execute the activity, which is manual, by click the activity button and QR scan.
-
The first click or scan will changed the stated to “In” and the second click or scan will changed to “Out”
-
Based on the workflow, show that after the entry in “Out” state, it should be the end, which is there should not be other activity execution or state changing.
-
So if user execute the activity either manual or scanning QR after the “Out” state, it will prompt the error “submission failed, activity not available” , since there is no workflow for the activity after “Out:” state.
Another Example on how the error can be encountered is :
When user click the same activity at the same entry in the same time.
-
This is leave apply workflow :
-
After user submit the entry, the entry state will turn to “Submitted” and wait for approval.
-
And as you can see in the workflow, there is an activity call “approved” that will change the state from “submitted” to “Approved”.
-
This error can be encounter when 2 or more people click the same activity at the same entry in same time.
-
When to 2 user click the same activity for the same entry. The first one who click “approved” will be able to execute the activity and change the entry state to “approved”, meanwhile the other person, will get the error, since the entry is already “approved” and cannot have a duplicate “approved” activity.
-
First person view
-
Second person view