Tuesday, October 19, 2010

Very Useful Code Related Informations for Process Engine

How to Ends a PE Session and free all resources:
vwSession.logOff();
Method to retreive Event Logs
vwSession.fetchEventLog(eventLogName);
Fetch name of all workflows within a Isolated Region
String names[] = vwSession.fetchWorkClassNames(true);
Retreive a VWWorkFlowMileStones Collection
vwProcess.fetchreachedWorlflowMilestones(level);
How to write User Response to VWStepElements
vwStepElements.setSelectedResponse(...);
Retreive available response from VWStepElements
vwStepElement.getStepResponses();
Which VWStepElement methos will unloack a work item w/o updating it's fields
doAbort();
How to Retreive launch step info of a specified workflow?
vwSession.createWorkflow("Name of the workflow");
Steps to return VWRosterQuery object
S1: Create a VWSession object and log on
S2: Retreive the required VWRoster object from Session
S3: Perform a query from retreived VWRoster object
Retreive current user Info
vwSession.fetchCurrentUserInfo();
doDispatch() is the method of VWStepElement which save changes to work object and advances it to next workflow object
To use PE java component, ur java class shld contain public methods and class must have a constructor with no parameter
How to logon to PE and make connection
testPESession = new VWSession (user name, password, connectionPointName);
VWWorkObject provides access to all of the fields of work item
doReassign(user id, false, null) of VWStepElement will moves a work item to another user Inbox
The only Exception thrown by P8 Process Java ApI methos is VWException object

6 comments:

  1. I'm starting a new internet blog directory and was wanting to know if I can submit your website? I'm
    trying to increase my directory slowly by hand so that it retains top quality.
    I will make sure and put your website in the best category
    and I'll additionally use, "Blogger: FileNet Tutorials" as your anchor text. Please be sure to let me know if this is acceptable with you by mailing me at: chastitymoffitt@gmail.com. Many thanks

    Feel free to surf to my site: http://www.picowiki.com/discreetphysici13/index.php/A Home Exchange Is A Great Way To Travel and Save Money

    ReplyDelete
  2. Do you mind if I quote a couple of your articles as long as I provide credit and
    sources back to your website? My website is in the exact same area of interest as yours and my visitors would definitely benefit
    from a lot of the information you present here. Please let me know if this alright with you.
    Thank you!

    Here is my blog post; 23hq.com

    ReplyDelete
  3. Hello, all is going nicely here and ofcourse every one is sharing data, that's truly excellent, keep up writing.

    Here is my site - http://orangecountyjacquie60.wordpress.com/2013/05/31/gardening-tools-for-every-gardener

    ReplyDelete