My workflow is initiated by User1( in a roll called requestor). They input values in a stepper and submit. The values through the workflow are save to the entity. The next task is for the approver to review the request and add inform in other fields that enhance the request. The approver belongs to a different role call 'approver'. The approver submits(approves) the request with a submit. The values through the workflow are save to the entity. The requestor and approver are saved in fields in the entity on the record. Another step further down the workflow is a task back to the individual that "approved" the request. In the Assignee Required Role property of the user task I put the role 'approver'. I want it assign the task to the individual who approved the request(saved on the record). In the "Assignment Condition" of the user task properties in the workflow you can enter SemQL. However, the documentation say:
I take that as the "requestor" is the initiator in my example. The SemQL allows me to get to the data field that holds the email of the approver. Can I use that? This is confusing to me. If "Assignment Condition" ONLY allows the code from the documentation, why give a SemQL option? Why not make it a checkbox and it populates for you? Having SemQL available indicates that I can get my assignee from other places. Below is the SemQL I would like to use. Is this an option? Am I reading this wrong?
I think I fond the answer. Before the User Task, I need to insert a "Set Workflow Metadata" automation and set the parameter for Initiator. Then I can set the Assignment Condition using the SemQL suggested code for the user task
I think I fond the answer. Before the User Task, I need to insert a "Set Workflow Metadata" automation and set the parameter for Initiator. Then I can set the Assignment Condition using the SemQL suggested code for the user task
Matthew AMMONS
My workflow is initiated by User1( in a roll called requestor). They input values in a stepper and submit. The values through the workflow are save to the entity. The next task is for the approver to review the request and add inform in other fields that enhance the request. The approver belongs to a different role call 'approver'. The approver submits(approves) the request with a submit. The values through the workflow are save to the entity. The requestor and approver are saved in fields in the entity on the record. Another step further down the workflow is a task back to the individual that "approved" the request. In the Assignee Required Role property of the user task I put the role 'approver'. I want it assign the task to the individual who approved the request(saved on the record). In the "Assignment Condition" of the user task properties in the workflow you can enter SemQL. However, the documentation say:

I take that as the "requestor" is the initiator in my example. The SemQL allows me to get to the data field that holds the email of the approver. Can I use that? This is confusing to me. If "Assignment Condition" ONLY allows the code from the documentation, why give a SemQL option? Why not make it a checkbox and it populates for you? Having SemQL available indicates that I can get my assignee from other places. Below is the SemQL I would like to use. Is this an option? Am I reading this wrong?Username = StepInstance.CurrentDataSet.M001_SKU_MAT_REQ.EMPLOYEE_PGAppr.Email
Thanks,
Matt
I think I fond the answer. Before the User Task, I need to insert a "Set Workflow Metadata" automation and set the parameter for Initiator. Then I can set the Assignment Condition using the SemQL suggested code for the user task
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstMatthew AMMONS
I think I fond the answer. Before the User Task, I need to insert a "Set Workflow Metadata" automation and set the parameter for Initiator. Then I can set the Assignment Condition using the SemQL suggested code for the user task
Alexia SIMOND
Glad to hear that you found the cause!
-
LOV label in Named Query
-
How we can set Dynamically changing Form field Description?
-
Is it possible to have a conditional survivorship rule based on a SemQL filter (akin to the filter on privileges)?
-
Where Do I View 2 Merged Records?
-
Show/hide an attribute in a form
-
Restrict access of attributes
-
Is it possible to manage visible/invisible value in List depend on user role??
-
Why am I unable to merge duplicates?
-
How are child records selected when parent records are manually merged?
-
Can the response from the API Call Response can be formatted differently in the JSON output?
See all 178 topics