Siebel CRM How To – Invoke Wrokflow through BC User Property

Till siebel 7.5 the only method know to invoke workflows were

  • Runtime Events in start step of workflow
  • Business Service
  • Business Component Script
  • Workflow Policies

But from Siebel 7.7 ownwards there is one more method by which we can invoke a workflow. That way is Siebel business Component user property. You can ‘Named Methodn user property in a BC which can invoke a workflow where n is increment to the last named method user property defined on that BC.

Name: Named Method

Value:[Event Name] , “INVOKESVC”, , “Workflow Process Manager”, “RunProcess”, ‘ProcessName’,[Name of the Workflows] , ‘RowId’, [Row Id Value]Example The below mentioned will invoke a workflow named ‘Example Workflow’ when a new record is created in Example BC.

Name: Named Method 1

Value: “New Record”, “INVOKESVC”, “Example”, “Workflow Process Manager”, “RunProcess”, “‘ProcessName'”, “Example Wrokflow”, “‘RowId'”, “[Id]”

Hope this post helps you. If yes, Please post your comments.

27 Responses to Siebel CRM How To – Invoke Wrokflow through BC User Property

  1. Hai
    what u have explained about named method is very good and helpful to me.But one question in my mind is Named method used only to invoke a workflow

  2. Hai what u have explained about named method is very good and helpful to me.But one question in my mind is Named method used only to invoke a workflow

  3. Chaitanya, thanks for posting a comment. Named method property can be used for invoking business services and also to enable button without use of CanInvoke Scripting. Will be adding a full post explaining Name Method User Property soon. So come back.

  4. Chaitanya, thanks for posting a comment. Named method property can be used for invoking business services and also to enable button without use of CanInvoke Scripting. Will be adding a full post explaining Name Method User Property soon. So come back.

  5. You are welcome steve. these one liners are my inspiration. They make me feel that what I am doing is helping somebody. These comments keep me going. Hope to see lot more of them 🙂

  6. You are welcome steve. these one liners are my inspiration. They make me feel that what I am doing is helping somebody. These comments keep me going. Hope to see lot more of them 🙂

  7. Hi,

    This is nice.

    Thanks a lot. It helps me a lot,

    Actually, i am looking for a job in siebel-crm.

    Bye,
    Mohanarao

  8. Hi,

    This is nice.

    Thanks a lot. It helps me a lot,

    Actually, i am looking for a job in siebel-crm.

    Bye,
    Mohanarao

  9. Hey Neel,

    Nice post.. Your post seem to make siebel easy for one and all…I’m trying to put my hands in WorkFlows which is quite new for me.Could you please suggest some basic link in ur site that could help me get the basics of workflow from scratch.
    Awaiting for your reply :)..

    Cheers,
    Shree

  10. Hey Neel,

    Nice post.. Your post seem to make siebel easy for one and all…I’m trying to put my hands in WorkFlows which is quite new for me.Could you please suggest some basic link in ur site that could help me get the basics of workflow from scratch.
    Awaiting for your reply :)..

    Cheers,
    Shree

  11. Hi, We are trying to Invoke a WF on click of a button, using the user property. But always getting Generic SSA NOTOK error !! (what is it ??)

    I hv created a button “Invoke_WF” and have two user prpoperties as follows

    1. CanInvokeMethod: Invoke_WF
    VALUE = TRUE

    2. Named Method: Invoke_WF
    VALUE = ‘INVOKESVC’, ‘Workflow Process Manager’, ‘RunProcess’, ‘”ProcessName”‘, ‘”Addition_WF”‘

    Any ideas / suggestions are welcom !

    TIA
    Rahul

  12. Hi, We are trying to Invoke a WF on click of a button, using the user property. But always getting Generic SSA NOTOK error !! (what is it ??)

    I hv created a button “Invoke_WF” and have two user prpoperties as follows

    1. CanInvokeMethod: Invoke_WF
    VALUE = TRUE

    2. Named Method: Invoke_WF
    VALUE = ‘INVOKESVC’, ‘Workflow Process Manager’, ‘RunProcess’, ‘”ProcessName”‘, ‘”Addition_WF”‘

    Any ideas / suggestions are welcom !

    TIA
    Rahul

  13. Generic SSA Not OK Error comes if there is some problem in the configuration.

    Try to invoke a simple script throught his button and if you still get error that would mean that there is problem in you BC such as a calculated field having wrong expression or may be some problem in the configuration of this button.

  14. Generic SSA Not OK Error comes if there is some problem in the configuration.

    Try to invoke a simple script throught his button and if you still get error that would mean that there is problem in you BC such as a calculated field having wrong expression or may be some problem in the configuration of this button.

  15. Hi Neil
    can we used the NamedMethod User Property in Server Script like
    this.InvokeMethod(“NamedMethod1”).

    If yes then which will take the precidence.

  16. Does that mean that everytime the user clicks on the New button the workflow will be invoked … What happens when the user presses the Esc button having decided not to create the new record ??

  17. ‘INVOKESVC’, ‘Workflow Process Manager’, ‘RunProcess’, ‘”ProcessName”‘, ‘”STR GO TO VIEW WF1″‘, ‘”Object Id”‘, ‘[Id]’,'”VIEW PARAM”‘,'”STR GIRL BOYS VIEW ESERVICE”‘,'”APPLET PARAM”‘,'”STR GIRL BOY LIST APPLET ESERVICE”‘

    can any one help me on this i need to create next button to go anther view this is right

Leave a Reply

Contribute