cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to filter usergroups in workflow action

0 Kudos
199

Hi Expert,

i have a requirement to not to be shown some assigned user as highlighted below in below workflow screen. i need to display some specific groups . how can i achieve this?

when i was debugging the code i got the below Query which i believe populates the bekow table.

SELECT DISTINCT {actions:pk}, {actions:creationtime} FROM {WorkflowAction as actions JOIN WorkflowActionItemAttachmentRelation* AS rel ON {rel:source}={actions:pk} JOIN WorkflowItemAttachment AS attachment ON {rel:target}={attachment:pk} } WHERE {actions:status} IN (?status) AND ({actions:principalAssigned}=?session.user OR {actions:principalAssigned} IN (?session.user.allgroups)) AND {rel:qualifier} = 'WorkflowActionItemAttachmentRelation' AND {rel:language} IS NULL AND {attachment:typeOfItem} IN (?types) ORDER BY {actions:creationtime} DESC

Accepted Solutions (0)

Answers (0)