(WID/WPS) Calling a Business Process using BPE API

To call a Microflow : 
Preferred Interaction style can be Any (Sync/Async/Any)

 Join Transaction should be 'True'.


Use call method.
//ClientObjectWrapper cowProcessOut = flowManager.call("MyProcess",cow);


For complete java code :
https://docs.google.com/file/d/0ByotHxAO08TDNnZKX3hfMm5TamlFTW53dk9TQlpMQQ/edit


To call a Long Running Process :
Preferred Interaction style can only be 'Async'.
Join Transaction should be 'False'.
Use initiate method.(PIID piid = flowManager.initiate("MyProcess",cow))


//MyProcess is the process name.

No comments:

Post a Comment