tag:blogger.com,1999:blog-6992129293870658291.post1998914504187383414..comments2024-02-13T00:36:59.095+11:00Comments on Impossible Siebel: The real difference between SWEAlert and alertJason Lehttp://www.blogger.com/profile/13322055780076477366noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6992129293870658291.post-77798705611669116832010-05-19T00:10:58.096+10:002010-05-19T00:10:58.096+10:00Hi Pradeep,
I havnt come across a situation wher...Hi Pradeep, <br /><br />I havnt come across a situation where i need to do that in browser script. Is there a reason why you would want to do this?<br /><br />Browser script has a limitation on output propertysets<br />http://download.oracle.com/docs/cd/B40099_02/books/OIRef/OIRefInterfaceRef171.html<br /><br />You cannot pass something from server to the browser. You can only set an attribute,fieldvalue and retrieve it from the browser, but you are limited to primitive types.Jason Lehttps://www.blogger.com/profile/13322055780076477366noreply@blogger.comtag:blogger.com,1999:blog-6992129293870658291.post-28199994867981277102010-05-11T08:25:36.670+10:002010-05-11T08:25:36.670+10:00Hi,
I am calling workflow from browser script. T...Hi,<br /><br /><br />I am calling workflow from browser script. The output of the workflow "ABC WORKLFOW" is Hierarchial ouput .<br /><br /><br />var bo = theApplication().ActiveBusObject();<br />var bc = bo.GetBusComp("Account");<br />var sAccntId = bc.GetFieldValue("Id");<br /><br />var sWrkflow = theApplication().GetService("Workflow Process Manager"); <br />var SInputs = theApplication().NewPropertySet(); <br />var SOutputs = theApplication().NewPropertySet(); <br /><br /><br />SInputs.SetProperty("Object Id", sAccntId);<br />SInputs.SetProperty("ProcessName", "ABC WORKFLOW"); <br /><br />SOutputs = sWrkflow.InvokeMethod("RunProcess", SInputs); <br /><br /><br /><br /><br />Although i could get the output of the workflow process manager business service in the above script, i got struck in retrieving the the output of "ABC Workflow" in the above browser script . I think i can call a server script from browser script and pass the values back to browser script. Could you please let me know if there is any way of retrieving the output of "ABC Workflow" within the browser script.<br /><br />thanks<br />pradeepAnonymousnoreply@blogger.com