on 2022 Oct 26 10:27 AM
Hello.
I've created a BR which unassigns an activity if a technician pushes a button called "reject" which is actually a workflow step. That activates the BR and the activity is unassigned. The thing is that for my current project, it is required the new behavior regarding the activities, so no new activities should be created and cancel the old ones. I've configured the activity settings and marked a check in the action in the BR to avoid make a copy of an activity, in order to preserve the same activity ID.
So with this new behavior what happens is that when an activity is unassigned, it stays in that "reject" WF step and I'm not capable to create an "update object" action to reset the ServiceAssignmentStatus.
Please if anyone had this same issue or knows how to solve the problem, please help.
Thanks in advance.
Request clarification before answering.
Hi Sergio,
I tested my own unassign activity business rule and rejected an activity on my handheld device and I did not experience what you describe regardless of whether I marked the check in the action of the BR to avoid copies.
By any chance have you tested your scenario without using the business rule by just calling the unassign API endpoint via Postman
The business rule unassign activity action basically calls this endpoint, so maybe this would be a good start to see if you have the same problem when you just execute the API endpoint outside of the business rule. This could help us narrow down if you have a problem with the business rule or if it is a problem with the API. If you are not able to test the API endpoint, maybe you could send me some more details about your rule, the configuration of your service workflow and the steps involved in executing this scenario.
Kind Regards,
Wendy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
4 | |
4 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.