Answered

Re-assign task using scheduler

On a daily basis, I need to evaluate the current assignee for a particular task to see if that assignee should still be responsible for completing the task. To elaborate: Tasks are assigned based on location where one particular person is assigned to a location. From time-to-time, people move from one location to another. When they move, they should pickup the cases associated with this new location and the cases from the old location should be assigned to someone else. Is there a way to handle this with scheduled business rules?

Comments (3)

photo
1

Dear Jon,

Please refer to https://help.bizagi.com/bpm-suite/en/index.html?automation_jobs.htm to know how to deal with scheduled jobs (similar to scheduled business rules).

Please refer to https://help.bizagi.com/bpm-suite/en/index.html?task_allocation_using_expressi.htm and https://help.bizagi.com/bpm-suite/en/index.html?preconditions.htm for different ways in task allocation.

Geolocation also might be useful for what you're trying to do: https://help.bizagi.com/bpm-suite/en/index.html?geolocation.htm.

Your idea for task allocation is great, nevertheless is complex so I recommend you to split it into smaller steps. I honestly hope that the information I've shared with you might be helpful.

Kind Regards.

photo
1

Thanks for the info. After further research, I think I have found a way to accomplish this by using the WorkflowEngineSOA Web methods. Using business expressions, I am calling the getActivities method to return activities assigned to a specific user. This method returns a record set in XML.

My question is: How do I parse that XML into an array that can be iterated over? I cannot find any functions that seem to work the way I need it to in an expression.

photo
1

Thanks for the info. After further research, I think I have found a way to accomplish this by using the WorkflowEngineSOA Web methods. Using business expressions, I am calling the getActivities method to return activities assigned to a specific user. This method returns a record set in XML.

My question is: How do I parse that XML into an array that can be iterated over? I cannot find any functions that seem to work the way I need it to in an expression.