Topic
  • 7 replies
  • Latest Post - ‏2013-04-18T00:00:54Z by YPS1_guybrush_guybrush
PingLu
PingLu
44 Posts

Pinned topic scheduling multiple orchestrations in sequesnce

‏2012-04-03T15:21:43Z |
Hi,

I have a question regarding running multiple orchestrations in sequence. Let's say I have three orchestrations in one project configuration, and these three orchestrations has some dependencies, can I run them in sequence?

Thanks,
Updated on 2013-03-17T23:53:38Z at 2013-03-17T23:53:38Z by SystemAdmin
  • Katherine Sanders
    Katherine Sanders
    47 Posts

    Re: scheduling multiple orchestrations in sequesnce

    ‏2012-04-03T15:39:26Z  
    Yes but there isn't a way to configure this in the WMC, you would just write the first orchestration to call the 2nd orchestration at the end, and the 2nd orchestration would call the 3rd orchestration at the end.

    There are a number of ways that one orchestration can call another one. For example you could send an HTTP request to the URI that the next orchestration is configured to receive requests on. You can also use Web Services and FTP etc.
  • PingLu
    PingLu
    44 Posts

    Re: scheduling multiple orchestrations in sequesnce

    ‏2012-04-03T18:00:59Z  
    Yes but there isn't a way to configure this in the WMC, you would just write the first orchestration to call the 2nd orchestration at the end, and the 2nd orchestration would call the 3rd orchestration at the end.

    There are a number of ways that one orchestration can call another one. For example you could send an HTTP request to the URI that the next orchestration is configured to receive requests on. You can also use Web Services and FTP etc.
    Hi Katherine, thanks for the reply.

    Besides the way you mentioned to call the following orchestrations, what are the other ways we can use in terms of using any activities or some sort of triggers(maybe?) to call other orchestrations.
    Thanks
  • Katherine Sanders
    Katherine Sanders
    47 Posts

    Re: scheduling multiple orchestrations in sequesnce

    ‏2012-04-04T08:42:06Z  
    • PingLu
    • ‏2012-04-03T18:00:59Z
    Hi Katherine, thanks for the reply.

    Besides the way you mentioned to call the following orchestrations, what are the other ways we can use in terms of using any activities or some sort of triggers(maybe?) to call other orchestrations.
    Thanks
    There aren't any special activities for calling other orchestrations. You would trigger them in the same ways as you can trigger the first orchestration (using starter activities). You just need to design the orchestrations in a way that they will be triggered in the order you want.
  • PingLu
    PingLu
    44 Posts

    Re: scheduling multiple orchestrations in sequesnce

    ‏2012-04-04T13:03:06Z  
    There aren't any special activities for calling other orchestrations. You would trigger them in the same ways as you can trigger the first orchestration (using starter activities). You just need to design the orchestrations in a way that they will be triggered in the order you want.
    Thank you Katherine.
  • SystemAdmin
    SystemAdmin
    1250 Posts

    Re: scheduling multiple orchestrations in sequesnce

    ‏2013-03-16T03:44:48Z  
    • PingLu
    • ‏2012-04-04T13:03:06Z
    Thank you Katherine.
    Can we run this in CAST IRON Studio? I created invoke and provide services in my orchestration but i am getting below exception when my first orchestration tries to invoke second one.

    Exception log:
    Exception while processing web service activity. Error message: URI: /WSTest, Port: null, Operation Name: JobInfo has not been registered. Key: /WSTest:JobInfo. Caused by: URI: /WSTest, Port: null, Operation Name: JobInfo has not been registered. Key: /WSTest:JobInfo.

    Provide Service Details:

    Transport as : Local
    Configure Schema = /Orchestrations/Orchestration@Start/{JobInfo}

    Thanks
  • SystemAdmin
    SystemAdmin
    1250 Posts

    Re: scheduling multiple orchestrations in sequesnce

    ‏2013-03-17T23:53:38Z  
    Can we run this in CAST IRON Studio? I created invoke and provide services in my orchestration but i am getting below exception when my first orchestration tries to invoke second one.

    Exception log:
    Exception while processing web service activity. Error message: URI: /WSTest, Port: null, Operation Name: JobInfo has not been registered. Key: /WSTest:JobInfo. Caused by: URI: /WSTest, Port: null, Operation Name: JobInfo has not been registered. Key: /WSTest:JobInfo.

    Provide Service Details:

    Transport as : Local
    Configure Schema = /Orchestrations/Orchestration@Start/{JobInfo}

    Thanks
    Are you running both orchestrations concurrently in Studio, or only the one that attempts to invoke the second one? Be sure to start the orchestration that is providing the service first, and then start the one that does the invoking next.
  • YPS1_guybrush_guybrush
    51 Posts

    Re: scheduling multiple orchestrations in sequesnce

    ‏2013-04-18T00:00:54Z  
    Are you running both orchestrations concurrently in Studio, or only the one that attempts to invoke the second one? Be sure to start the orchestration that is providing the service first, and then start the one that does the invoking next.

    You can get some idea from this article, 

    http://www.conigent.com/blog/post/creating_a_master_scheduler_in_castiron