Download YAWL Editor 1.1 User Manual

Transcript
4. If you have already set up a Task Variable for this task, then the Existing
Task Variable option will be activated and there will be a list of task
variables to choose from. Choose a variable from the list and click on
Done, then Done again to close the task parameters dialog.
If you haven’t set up Task Variables, then click on Create… and return to
the previous section in the manual for Adding a Task Variable.
If you are familiar with XQuery syntax, then you can paste in an XQuery
to allow manipulation of the Input Parameters. "Syntactically well
formed" XQueries will be green, and badly formed ones will be red.
As a convenience method, the XQuery button will generate an enginecompatible XQuery that supplies the net variable currently selected in the
net variable drop-down box.
Select the “SubjectCode” variable from the list of Existing Task Variables.
Select the “SubjectCode” net variable and click XQuery. Alter the query
to extract the net variable’s content by adding “/text()” to the end of the
query. Fig. 28. Click Done.
Create another Task Parameter and map the net “StudentNumber” to the
task variable of the same name using this technique. Click Done and Done
again.
Fig. 28. Passing a net's SubjectCode to a Task
To add an Output Parameter:
1. First select the task that will require the parameter, using Enter Marquee
Selection Mode button, , from the Palette Bar.
We will be setting up Output Parameters for the variables that we created
in the Adding / Updating TaskVariables section.
YAWL Editor Manual – Release 1 / YAWL_Editor_Man_v1.doc
34