Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Condition Participant is a plugin that lets you control which user is going to participate in a process with more complex use cases because it allows different types of conditions (in Javascript) which include hash variables and so on. 

Get started

The easiest way to see how the Condition Participant plugin is to create a process first. Here are the steps:

...

NameDescriptionScreen ( Click to view)
Javascript*

Javascript condition is used in the script element to determine who will participate in the process. Hash variables are usable here. 


For example, you may key in values such as "#currentUser.id#" == "admin" so that when you run this process as the Admin, it will return as true and the participant will be determined by the Username Field.

Code Block
titleSample
"#currentUser.id#" == "admin"


This is a mandatory field.





Username*The username of the participant. This is a mandatory field.
Debug ModeTurn on the debug mode to show the plugin details in the system log to find bugs for the script.

...