Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting attributes

Status
Not open for further replies.

mriganka

Programmer
Jul 15, 2003
2
IN
I am starting a new workflow using
LLValue map = ( new LLValue());

workflows.LoadMap(-2000, 21064, 0, map);
workflows.StartWorkflow( map, "LAPI WORKFLOW TEST", null, obj);

Now how do I set the attributes/attachments/comments of a workflow while initializing?An example would be good.
 

instead of 'null'for the third parameter you need a specify another LLValue object to hold the additions to the workflow.Null should be specified when there are no additions.To get the workpackage for this workflow use the LAPI call AccessWorkPackage.I will send a small java file to gregriffiths site that will show how to retreive the work package as a RecArray.Meanwhile if this is urgent include a mailid and I will send the file directly to you.You should be able to understand my heaviky commented code.


 
I tried to download the Retrieve Workflow Attachments example for greggriffith's site but the link seems not to be working.Would help if you send me the file at m_majumdar@hotmail.com.
 
Hello all.
How do you retreive a workflow map ID ?
I try to do :
workflows.LoadMap(-2000, WKFID, 0, map);
and i have this error :
Code: 501001
Error:
Error Message:
Status Message: Impossible d'obtenir les résultats.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top