Need help writing an if statement in idocScript for a rule
Good Day,
A user requires certain documents to be only be visible to a specific role.
For example
A document is checked in and it has a document type of 1234 then the role applied is SECURE_ROLE
I was trying to write a condition in the checkin rule for the clbrarolelist metadata field or if that's not correct then in the Document Type metadata field in the derived value field.
I need help rewriting the following into idoc script.
If xcig_doctype is '1223' or '12325' or '1452'
then xclbraRoleList is SECURE_ROLE
And also am I writing it in the correct location?