I would like to know if I can use the parameters (in the xquery) or the predicates(in the net variables and task variables) to specify a variable in a task. for example, if I am modeling this:
task 1) student info
task 2) courses (variable is No of courses)
task 3) Graduate
can I use parameters to specify that I need 10 No of courses to graduate. Other wise how and what is the use of predicates and the parameters. I am not finding any examples anywhere the use of it.
Parameters and Predicates
If I understand correctly, this is what you may want to do.
You define a net variable noc:integer for the number of courses. In the "Courses" task you set this variable to a value. The "Courses" task has an XOR-split with the following predicate for the branch that goes to task "Graduate":
/Net/noc/text() >= 10