I`m trying to add condition to custom workflow to let it run only by users with role Librarian.
For that purpose i`ve created condition :
Signuture: R4_WFFilterLibrarySolution ( UserSession o )
And tried to add to my workflow but see error "The sysntax is invalid for the condition..."
What am I missing? I need help from some experts in conditions I guess
I`ve seen this example in manual but I think it is not what I need - this example about group, not role:
u.fnd0ConditionHelper.fnd0isSubGroupOf( u.group, "Engineeering" )
maybe it is possible to adjust it to role?
u.fnd0ConditionHelper.( u.role_name, "Librarian" )
I`ve tried to use some simple example like defoult conditions:
but it still the same error(
A quicker method which doesnt involve a BMIDE deployment would be to use the handler EPM-check-action-performer-role on a validate task at the start of the workflow with an argument of -responsible = group::role
You can use the following syntax:
Signuture: R4_WFFilterLibrarySolution ( WorkspaceObject o , ImanType t , UserSession u )