Please consider the environment before printing this Page. Go Eco.
Powered by MaxBlogPress 
Home » Siebel EAI

Configure a VBC to invoke an EAI Workflow without scripting

16 March 2010 1,884 views 5 Comments



In this artice we will discuss on how to configure a VBC for invoke an EAI WF with a minumun amount of scripting. 

  Daniel Rodriguez An article by Siebel Expert Daniel Rodriguez 

This post show how to configure a VBC for invoke an EAI WF with a minumun amount of scripting in siebel.

Steps:

a) Create a VBC based on class “CSSFABCVRec”.

b) Create VBC fields, the Parent Buscomp link and add it into BO.

c) Create an Integration Object based on the VBC created.

Note: this integration object must be contain just one Integration Component based on the VBC created on previous step

d) Create a Business Service based on class “CSSFAExternalService”.

e) Into the BS create a method called “Query”.

f) Into the VBC create the next User Properties:

Name: Value
Outgoing Integration Object Name: Name of the IO previously created
ProcessName: Name of the Workflow Process to be invoked
Service Name: Name of the BS previously created
Enable Caching: N

g) Create an applet based on the VBC. Add this applet to your custom view.

h) If you need to pass arguments to the WF, you can put a little of script into the PreQuery Method of VBC Server Script (for example, set a ProfileAttr)

Hope this workaround helps you.

Discussion is still on , please share your solution and experience with siebel world.

SocialTwist Tell-a-Friend

Related posts:

  1. Named Method Property We have gone through the introduction of User Property, lets...
  2. How to Invoke Business service on a click of a button? This a very commonly asked question in Siebel technical interviews....
  3. Integration Of Third Party Appication With Siebel I have seen developers discussing different ways to integrate third...
  4. User Property in Siebel User properties are object definitions that allow us to configure...
  5. Keyboard Accelerators Siebel allows keyboard to perform some functionality such as scrolling...

Related posts brought to you by Yet Another Related Posts Plugin.

Your Ad Here

Your Ad Here
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

5 Comments »

  • Joan Martí Peraire
    Joan Martí said:

    Your article it’s so interesting in order to enrich my knowledge. Anyway I think that this option needs at least be invoked when a button is pressed. In this way, I don’t know yet Pros instead of using directly:
    var WorkFlow = TheApplication().GetService(“Synchronous Server Requests”);
    var psChild = TheApplication().NewPropertySet();
    var wfw_in = TheApplication().NewPropertySet();
    var wfw_out = TheApplication().NewPropertySet();

    psChild.SetProperty(“ProcessName”,”wfw_NAME”);
    psChild.SetProperty(“Object Id”,Id);
    wfw_in.AddChild(psChild);

    WorkFlow.InvokeMethod(“SubmitRequest”, wfw_in, wfw_out);
    txtError = wfw_out.GetProperty (“Error Code”);

    Thanks a lot,
    Joan.

  • Vipo said:

    Hi – We are using Siebel 8.0.0.5 SEA (Horizontal) and our requirement is to call External web service from Siebel and populate result in VBC.

    How can you do this?

  • Vivek said:

    You first need to create a outbound web service in siebel for the external web service, and then you can call this web service using the proxy business service in the script, and pass the inputs/outputs

  • Georges K said:

    You will also have to create a VBC User Property to load the proxy bs

    Name: Value
    Business Service: “Name of the proxy business service”

    which in turn would call the outbound web service
    from the VBC query method via scripting

  • Daniel Rodriguez
    Daniel Rodriguez said:

    Hi, this solution is perfect to call an External WS. Check in this line:

    psChild.SetProperty(”ProcessName”,”wfw_NAME”);

    This line is for call a WF. In our solution, the WF was invoking an external WS and made some complex validations.

    Hope that helps you.

    Daniel Rodriguez
    rodriguez.stessens@gmail.com

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <font color="" face="" size=""> <span style="">

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.