locked
Notification based on parent work item's status RRS feed

  • Question

  • Good afternoon all.

    Would anyone know how it will be possible to send a notification for a manual activity reassignment but only when the parent work item (service request for example) is 'In Progress'? I know this is not going to be possible in the console so has anyone managed to achieve this within XML?

    Any pointers would be great!

    Thanks, Joe

    Thursday, April 30, 2015 2:52 PM

Answers

All replies

  • Hi Joe,

    why is this not possible from the console? You can configure a new Workflow for manual activity under Workflows -> Configuration -> Activity Event Workflow Configuration (manual activity) and then on the Specify Criteria page chose Manual Activity, Has Parent Work Item [Service Request]Status equals "In Progress"... This should do the Job. Or am I missing something?

    Best Regards,

    Stoyan

    Thursday, April 30, 2015 3:27 PM
  • Thanks for the reply Stoyan

    The problem I have is that I only want to send the notification when the 'Assigned To' of the manual activity is changed not just the status of the Service Request. I have both bits independently but I can't get the two working together. I'm using the 'Custom.Work.Item.Assignment.Workflow.Library' which triggers a notification on the Assigned To being changed and is working well.

    When I take the instance subscription which I have generated using a method similar to what you describe (it's a Instance Subscription) and try to bring that into the 'Custom.Work.Item.Assignment.Workflow.Library' management pack which uses relationship subscriptions  I import I get an error on import of "The elemenet 'Subscription' has invalid child element 'Instance Subscription'. List of possible elements expected 'Start Watermark, PollingIntervalInSeconds'.

    Would it be helpful if I posted the MP I have so far somewhere?

    Thanks, Joe

    Thursday, April 30, 2015 5:44 PM
  • Unfortunately, what you're asking for can't be done out-of-the-box, even with direct management pack manipulation.

    There are basically two types of subscriptions: instance and relationship subscriptions. They can't be mixed.

    It is still possible to accomplish what you want, but it would require some development effort if you want to build it yourself.

    There are some 3rd party options out there since this has been asked for a number of times in the past.

    For example from a quick search, both http://www.carbon60.com/send-email-notification-custom-activity-for-service-manager/ and https://andrewsprivatecloud.wordpress.com/2012/07/02/assignmentre-assignment-notifications-using-sco/ use Orchestrator.

    It could also be done with a powershell-based service manager workflow if you don't want to use Orchestrator.

    Thursday, April 30, 2015 6:31 PM