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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Workflow with attributes(from LAPI)

Status
Not open for further replies.

leirehernandez

Programmer
Jan 29, 2010
25
ES
Hello everybody,

I have a workflow that I initiate from LAPI, the wokflow has an attribute "Country" that is required for the first step(a text popup) with the different countries(Cyprus....). How can I select from LAPI cyprus country for example? Is it possible????

Thank you very much!!!

Leire Hernández
 
When you retreive the workpackage and you get the attributes it is on index 3 I guess you will be seeing a data structure .In that data structure if I remeber right you should see something called "Valid Vals" that is what shows up in those pop ups.If the validvals are derived from attribute extensions then you have to patch your livelink server so that all bugs realted to attribute extensions are patched

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008
 
Hello appnair,

Thank you very much for the information. I am new in Livelink and I don't know how can patch the livelink server. I can see the data structure using:
If (rec.toInteger("SUBTYPE") = 3) Then
userdata = rec.toValue("USERDATA")
Dim catVersion As LLValue = New LLValue().setAssocNotSet()
catVersion = userdata.toValue("catVersion")
end if

I cannot access directly to validvalues, I can see only within catVersion and userData,

Best regards,

Leire
 
go to greggriffiths.org and look in the lapi section.Download some of the codes found there and look for the utility function printtypetree which is how you read values in a LLvalue datastructure.That function is vailable in the KB as well
knowledge.opentext.com

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top