Publishing Process Models

Hi,

Is there any Smart service / Plugin / Function available which can be used to publish the process model.

I need to give functionality to update the scheduling and on submit using any smart service process model should be published because after changing Constant value used for scheduling publishing process model is mandatory.

Thanks

  Discussion posts and replies are publicly visible

  • Hi Stewart,

    There are 6 timers in start event:
    00:10 AM, 12:00 PM 3:00 PM, 6:00 PM and 9:00 PM and we need to provide the facility to change the timings anytime by support team
  • Hi Prakhar, which environment your working like Prod, Test, Dev ?
  • Hi Prakhar

    So, as I said, it depends on whether you need to override the current settings for your timers, or if it's ok for the timers to run as they are currently set and pick up any new signs in the NEXT iteration.

    Either way, you can use an Expression Rule to derive the timer values dynamically. You need to add a loop in your processing, rather than use the in-built "Timer Recurrence" and use the "Delay until the date and timer specified by this expression" in the "Scheduled Delay" section of the Timer smart service.

    If you need to be able to change the values for the current iteration (rather than pick them up in the next iteration) then one option is to send the running process instance a message to terminate itself, but start a new instance of itself before it does so, so that the new instance is started afresh and the new values for your timers are set as required.