1 - I have created a project and assigned to someone.
2 - I have customized material request form and added project name in it.
3 - User selects and saves project name in material request.
4 - I want that material request be routed to project’s assignee (project manager) for approval in workflow.
Note:- Same person may be assigned to more than one projects.
Please find two screen shots. One for material request that shows project name selected and second is for project screen that shows that this project is assigned to two persons.
Now I want that this material request should be routed to these two persons for approval. Either of them can approve it.
When I create workflow, I do not find project assignee in “Only allow edit for” field in states section or in “Allowed” field in Transition rules section.
Maybe you would have to create a new role similar to Leave Approver and dynamically insert the approvers into that role.Some sort of custom code would be required for this I think.