Is there a way to identify which user action is being requested from a flow within the requested form?
IE A request for Transfer. We are trying to constrain or restrict the update of the effective date within the "Transfer" form on the Workassignment business class when a director/supervisor takes user action on the request for approval. Is there a way to identify which user action is being requested from a flow within the requested form? If the initiator and/or HR business partner user actions are being acted upon then we want to allow update of the effective date, but when the director/supervisor is taking action we only allow display of the effective date, but not allow updates.
-- As an example of what I'm thinking I have logic when testing for a role to determine access but really want to query pfi value or something that tells me what action node was called. Hope that makes sense. And I'm not sure it's going to matter because I get effective date already declared with the log below when building out the LPL. I was sure if a condition of some sort could be used
visible when (actor.initiator or (any actor.agent(Employee).ActorRoleRel.RoleSecurityClassRel.Role like "HRGeneralist_HS_VH"))
single column
text of untranslatable:"Please enter an Effective Date equal to the beginning of the next pay period."
color of red
effective date
visible when (not actor.initiator and not (any actor.agent(Employee).ActorRoleRel.RoleSecurityClassRel.Role like "HRGeneralist_HS_VH"))
single column
text of untranslatable:"Please enter an Effective Date equal to the beginning of the next pay period."
color of red
effective date --With this logic I get effective date already declared error so even if there is a way to capture the user action node that called for approval is going to help.
display only