Jump to content

CR spawned from SR not picking-up Workflow, not reporting the RequestID and not accepting Change Type


Berto2002

Recommended Posts

Can anyone help with this mystery, please?

Because we can't log a CR from Routing Rule Templates, I intend to log a SR and have an SR Workflow create a CR and then close. It nearly works; I get the CR but we have 3 important issues. I want to rule out my oversight first, then ask if there is something specifically blocking SRs raising CRs; before moving on to suggesting a defect.

image.png.bfb040bd2bed5fe360ad39364e97e962.png

First issue is that the new CR is not picking-up the Workflow.

Create node is this:

image.thumb.png.200579a2f25027f1d50de990af858d84.png

The Service Catalog item under Change for Network & Infrastructure Support is:

image.thumb.png.7af36cef95b7607954362d8e04d2e3cb.png

And that Workflow is active:

image.thumb.png.9f6b59d3e0bf683cfda6118e7492f153.png

The CR gets created but has no Workflow:

image.png.b22c4a71732f7cb88fc52815c6ac2a2b.png

I first tried under ServiceDesk Basic User (a Subscriber to the Service) and got the error. I than tried as me (Full User) and full subscriber and still got the error so ruled-out the user being the issue:

image.png.0781e709525f77334f7a2f4f92ff037c.png

Interesting Observations:

The "Raised By" is THIS:

image.png.11dc469d82e4d89bd3f30165e1759489.png

which is this when clicked:

image.png.736795a2c747805f7756f3ea7b833e13.png

Second issue is that the node that is in workflow to update the timeline with the new requestID (as diagnostics) is reporting no value, despite the "outcome" variable reporting success (so the overall flowcode reference works to refer to the node that spawned the CR):

image.png.0b31ca7b0020cb35349e1f8ff5bc580d.png

The node to update the timeline has this config and the red and green match the above (but for the last bit obvs):

image.thumb.png.299366a5c73170ceb2f501dcf2729e5c.png

And the node that creates the CR has the following outcomes which match the above:

image.png.a76cb3cd6170e81a81478db4168f7244.png

The Third issue is that, despite the node to create the Change Request stating to set the CR type to "Standard" (see first screenshot), the spawned CR has no Change Type set:

image.png.ca50ce911326374fc8eb0577de19d78f.png

Of course, I need workflow and I need a Change Type for this to work.

Any ideas please?

Thanks in advance.

Link to comment
Share on other sites

@James Ainsworth. Good question. I ran the report for this and no, we don't. The report is all services, cat items and subscribers so each cat item has multiple lines for each subscriber. In alphabetical order on cat item only the one in question shows.

image.thumb.png.21d936b7158083934f35d5a5761e1015.png

Today, I had a thought that the nodes that do this work were pasted (via templates) from another flow and then adjusted (in case you noticed, this is why the Result Reference is "logRequestServiceRequestTest" (not, presumably "logRequestChangeRequestTest") but I assume the value in result ref is incidental as long as it is consistently referred to.

Link to comment
Share on other sites

@Berto2002  RE: CR spawned from SR not picking-up Workflow
I think a change has been introduced in a recent release which is preventing the workflow from being 'picked up' on the new linked request when the last action on the original request was completed by System Internal Context. If the last action was completed by a human, the workflow is being picked up.
Previously the workflow was being 'picked up' when the last action on the original request was completed by System Internal Context.

 

Link to comment
Share on other sites

@Paul Chambers interesting. Are you also seeing this issue?

Do you have any idea as to whether that was an intentional 'change' or a consequential 'change'?

That does indeed match my circumstance because my SR is untouched by humans; it's purpose is to overcome the limitation that Routing Rule Templates can't open CRs so I need an intermediary to spin one up....

This is the timeline of my SR:

image.thumb.png.c67184dfb3a031dfc4fc4ef10cd05a71.png

So I am now going to put a Human Task in there and see if it 'picks up'...

Link to comment
Share on other sites

@Berto2002 I have raised this with HB Support as what I have found so far is that prior to this week, the new linked request was 'picking up' the workflow correctly for each new linked request, whereas since Monday the workflow is not being picked up on the new linked request when the last action/update on the original request was completed by System Internal Context. The workflow still works fine on the new linked request when the last action/update on the original request was completed by a human. 

Link to comment
Share on other sites

I confirm that adding-in a Human Task just before the create step led to the spawned Request 'picking-up' the prescribed workflow. Thus, the issue appears as you have described @Paul Chambers. For us it is impeding a new development; for you an existing process. Good work, thanks for contributing. I have a workaround to add something to my Outlook calendar to attend to this Human Task once a month but not ideal...

  • Like 1
Link to comment
Share on other sites

Thanks, I understand several customers have reported this issue to Premier Support.

I also confirm that when we had the Human Task as the last update, the Change Type was populated OK and the new Request ID was correctly published to the Timeline so all 3 of my symptoms had the same cause.

Link to comment
Share on other sites

@Berto2002

There is a potential fix being included in the next Service Manager update which is currently scheduled for next week. As you mentioned, there were a few other customers with similar issues.  Once the fix is available we hope to confirm with each customer that is has resolved their scenario.

 

 

 

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...