Field Service

Get Involved. Join the Conversation.

Topic

    Todd
    Changing Activities to Non-Scheduled
    Topic posted August 13, 2018 by Todd Bronze Medal: 1,250+ Points 
    87 Views, 15 Comments
    Title:
    Changing Activities to Non-Scheduled
    Content:

    We have a requirement to change activities that are already created in the system as Non-Ordered to be changed to Non-Scheduled.  This would need to be done for all pending activities prior to the daily extract process is performed.  Any suggestions would be helpful.

    Thanks

    Comment

     

    • Zsolt Tolgyesi

      Hi Todd,

      The most natural one is: the dispatchers can't finish they work shift until made all pending activities to non-scheduled. There are automatic ones also available, but those are needs development (in OFSC, for example with Messages, and in external also, for example change they status after). Selecting activities and move them on a split screen is a second.
      Personally I don't like playing with client related activities (the trackroll timing is confirmed by the client, days before) with an automatized way.

      Regards,
      Zsolt

    • Todd

      Thanks for your input Zsolt.  The dispatchers would not be at work as this would need to be done by the system for all pending activities prior to daily extract.  Haven't worked with Non-Scheduled activities before so can you elaborate on how this could be done with messages?  I understand that Non-Scheduled activities have no date and no time so the pending activities would have to null out the date to make it Non-Scheduled...right?  Also, if they would like dispatchers to manually make these changes how would they do that in manage.

      Thanks 

    • Todd

      In addition, can you provide more details around how this can be automated using messages and external system and which API method?  Our customer related activities are a bit unique in that they are not really confirmed by the client prior to that day.  It is more of a B to B scenario and are performed at central maintenance facilities and are fairly flexible when they are performed which is why they are created as non-ordered.  We have several overnight shifts for our techs and need to address pending activities in the system prior to the daily extract and these pending activities become in the past.

      Thanks

    • Zsolt Tolgyesi

      For the dispatcher job: open Manage interface, make split view, the top will be the List View with all pending activities for the selected Bucket, the bottom one will be the Time View of the same bucket, select all activities from the top and drag&drop them to the bottom window's right part where the non-scheduled box is.

      For automatic way it's just an idea, other members able to give you better solution if they like to comment this topic.
      In general, your external system (or middleware) need to track activity status changes (this is where the Messages impacting), and in the day's end those which are still on "pending" need to make non-scheduled through API.
      Zsolt

    • Ravi Shankar

      Todd,

      In the current implementation, we have a message scenario configured which executes nightly moving all pending activities to non-scheduled. In addition to this, we have a push coming from external system which suspend all the in-progress activities.

      One word of caution w r t non-scheduled activities is, data growth could be exponential causing system slowness after few months - one approach is to add another message scenario which can cancel all activities whose time of booking is beyond a certain threshold (e.g. 90 days).

      To track the status changes, you can rely on subscriptions which capture the changes done on an activity and use the subscriptions to update the external system with latest information every few minutes (depending on how fast the external system processes the data). Furthermore, you can create multiple subscriptions (up to 100 in number) with different filter conditions for activities (e.g. create multiple subscriptions based on certain classifications). In our implementation, we had setup multiple subscriptions and event pull happening from external system once a minute for each subscription.

      Thanks

      Ravi

    • Todd

      Thanks Zsolt and Ravi for your input. 

      Ravi I'm interested and think we could use the same approach, can you add screenshots of your message scenario setup to do this nightly update moving all pending activities to non-scheduled?

      Thanks

    • Ravi Shankar

      Todd,

      Attached document has the screenshots. This message step is setup as a start step as represented in the screenshot.

      Ravi

    • Todd

      Thanks Ravi, this is very helpful.  We are integrating with OSVC and set up messages with launch conditions but haven't used messages to set properties within OFSC.  Is there any lunch conditions with this approach or is it merely just a new message with time based specified in notification time?  Our daily extract is set for 3am so we need this to update prior to this time before new day begins.

      Thanks

    • Ravi Shankar

      Todd,

      We has set 'Activity Created' as the launch condition.

      Ravi

    • Todd

      Thanks Ravi, I will give a try.  The documentation states the subject needs to be "unschedule" but I see you use "action" and it is working for you.

       

      Thanks

    • Todd

      Ravi still having trouble getting this to work.  A few more questions...We are already using Activity Created as a launch condition in updating upstream OSVC system (which has a start step) and understand they can only be used once.  Secondly, did you have to set up a channel in order to set the activities to Unscheduled within OFSC? Any other screenshots you can provide would be helpful.

      Thanks

    • Ravi Shankar

      Todd, no other channel set. We are using scenario step to perform this activity daily at 23:00 hrs. This is available in the screenshots. One question - did you set up the step as a start step? There can be more than one start step defined.

    • Todd

      Ravi, yes I have both as start steps. see attachment.

    • Todd

      Forgot to add...would there need to be any blocking conditions since there are other launch conditions than the Create/Add one you specified in earlier post?

      Thanks again

    • Ravi Shankar

      Todd, we have 2 blocking conditions.

      1. is_activity_scheduled

      2. Activity Type not in - contains the activity group ids.