has anybody an idea how to start a workflow and add some attachments in an oscript modul? I know that there are the WAPI and $WFMain functions but the documentation only describes the functions and not how to use them?
Well the best way to do it is in a custom module something that they give in the builder class called wfcustom.It is part of the workflow customization fundamentals course book.I only have a hard copy hence I cannot share it electronically.You will start building it by orphaning all the wanted classes or if you search in KB you should be able to find a good script called MakeNewModule.lxe or somewhat like that which orphans the needed classes or shell for your new module.Now it is only a metter of finding the right WAPI calls.In fact KB has a posting by user 'dnalls' who has written the same.It is a set of three scripts one gets a workflow attribute,one sets a workflow attribute,and one initiates one.If you trace that code you should be able to find the defined attachment dtree dataid and bingo
If you need assitance offline write me at appoos@hotmail.com
administrator@nairkn.com
Freedom is not worth having if it does not include the freedom to make mistakes.
Mahatma Gandhi
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.