Home > Forum > Rules, JS, SQL > Any option for getting next tasks assignments?

Any option for getting next tasks assignments?
0

MVP

Hi everyone,

does anyone have an idea whether it's possible to retrieve the users to whom a task will be assigned in the next step?
What I've tested so far:
- Verified that the variable 'System fields\Assigned persons' contains the current persons during path transition, exit and entry.
- Created an SQL statement which returned the latest row from WFElementTasks, and executed this in an action during path transition, exit and entry. They all returned the old row.
- SDK object RunCustomActionParams.TransitionInfo.TasksToAdd is empty.

I wanted to use this as an general option which can be used in an execution condition, but it seems that this general approach is not feasible.

Best regards,
Daniel

MVP
In reply to: Andreia Correia

Daniel, not sure if what I'm about to say makes any sense!

Don't you need to use the table for Business Rules? In order to see who will be next?

Hi Andreia,

there are multiple options to define the next task owners:
- Predefined drop down
- Any kind of business rule, something as simple as "Current users" or even an Business Rule which uses and SDK action
- From a field
- Action on path to create a task

For a generic rule I would need the result of all these options. :)

Best regards,
Daniel