2012-05-15 20:05:55 utc |
Mugatu |
Is it possible to set a process variable from outside of the workflow? For instance, given a wfid, if I lookup that process from the dashboard, can I inject (or set) a process variable? Or is the correct way to do it is to effect it from within the workflow by nature of testing a workitem field? |
2012-05-15 22:00:45 utc |
jmettraux |
Mugatu: hello, you can set a process variable from the Dashboard, but it's a bit hard to do |
2012-05-15 22:00:57 utc |
jmettraux |
it's easier to set such a process variable at launch time |
2012-05-15 22:01:09 utc |
jmettraux |
$dashboard.launch(pdef, fields, variables) |
2012-05-15 22:02:16 utc |
jmettraux |
but you are right, the more natural way to influence a workflow is via a workitem field (provided the workflow gave you a workitem via a participant) |
2012-05-15 22:02:28 utc |
jmettraux |
or by sending a signal to the workflow (cancel, etc) |