You can use COMCreateObject("WScript.Shell") for displaying the custom message or for debugging the issues in eScript. This can be used in server script and in older versions of Siebel (which supports vb script).
Below is the example:
//Instantiate
var msg = COMCreateObject("WScript.Shell");
//Display message
msg.popup("Custom text" + variable ,0,"Message title");
//Example: of text and variable concatenation
msg.popup("Doc Num:"+docNum +" Owner Id:"+OwnerId+" P Id:"+POAsrId,0,"Debus Script");
For setting the Profile Attribute in Siebel Workflow, follow below steps: Add Business Service box in workflow. Open Business Service properties. Set SessionAccessService in Business Service Name. Set SetProfileAttr in Method Name. Then click on Business Service and set Input Arguments as below: Against Name argument you will add your profile attribute name and against Value argument you will add value for the new profile attribute, it could be from Process Property or Literal.
Comments
Post a Comment