Hi All,
I've been going round in circles for a while now and cant work this one out..have searched the forum, looked in user guide and programmer's ref but cant work it out!
I'm trying to get a process to run when a form is displayed. The process requires the same business object that is being displayed to be passed in as context. I can't work out how to pass the business object in as context (how do I get the object ID into the parameters of the function)?
This is the script placed in the init script of the business object form
AwareApp.startProcess2('NameOfMyProcess','BusinessObjectName',NEED_TO_GET_OBJECT_ID_HERE,'main')
Anyone know how I might achieve this?
Thanks