[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference utrop1::lnx_apo

Title:LinkWorks APO
Moderator:HLDE01::SYSTEM
Created:Tue Feb 22 1994
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:476
Total number of notes:1817

465.0. "Workflow methods" by ATYISA::61569::coutant () Wed Feb 12 1997 11:48

Hi,

 - 1 - LNX3.08
A customer wants to get users from the workflow attribute and put the names 
 (surname, firstname and orgunit) in a word document. The workflow looks 
like:
	A
	|
-----------------
|   |   |   ... |
B1  B2  B3      Bn

One way is to analyse the workflow attribute to get the list of user_id.
Is someone did it using C?

 - 2 - LNX3.2
Are there easier solutions provided in 3.2?
For example, is there a method to get the list of current workflow step and 
 for a workflow step to get the list of next steps?
Could you put the list of new workflow methods?

 - 3 - Manual workflow 3.08
For example we can use ConfirmManualWorkflow(wfnr, at) method. But there 
are no methods to get the current workflow step "wfnr" and no method to get 
the date "at" (I must write a DLL). Am I right?



Patrice

T.RTitleUserPersonal
Name
DateLines
465.1IJSAPL::MONNINK_HWed Feb 12 1997 16:547
    rep -1 
    
    The server example 'exercise' will give you a possible solution, it
    shows how to read the workflow attribute an whoe to display the
    information.  (look at exerana.c).
    
    Han
465.2maandaj.uto.dec.com::~::ANONYMOUS%Tue Feb 18 1997 15:4131
Patrice,

Workflow will open up in 3.2. There will are a couple of new methods with which
you can find the info you need. The following set of methods will be available:


- AddWorkflowStage()
- DeleteWorkflowStage()
- SetWorkflowMode()
- GetWorkflowMode()
- SetWorkflowState()
- GetWorkflowState()
    A workflow stage can have the following states:
   - 0 future
   - 1 pending
   - 2 received
   - 3 confirmed
   - 4 opened
   - 5 passed
- SetWorkflowAddress() (of a future stage)
- GetWorkflowAddress()
- AddWorkflowBranch()
- DeleteWorkflowBranch()
- GetWorkflowActualStages()
- SetWorkflowRemark()
- GetWorkflowRemark()
- SetworkflowDeadline()
- GetWorkflowDeadline()

regards,
Jos