Jump to content

Notify external email address node failing


Michael Risby

Recommended Posts

Hello,

We have recently changed our release process in hornbill, so releases are authorised by users with collaboration licenses so do not have service manager access.

the authorisation works well but when the BPM attempts to continue it errors on sending email notification with the below:

2018-11-12 14:56:33Z [INFO]:[PROFILE]:[4820] Method Call: apps:notifyEmailExternalAddress (46500754714)
2018-11-12 14:56:33Z [INFO]:[SECURITY]:[4820] The analyst [charlottem] has no rights to use the application [com.hornbill.servicemanager]
2018-11-12 14:56:33Z [WARNING]:[SYSTEM]:[4820] XMLMC Request Failed: Your session does not have rights to the 'com.hornbill.servicemanager' application

The user charlottem is a collaboration user so it is correct that she is not able to send the email, but is it correct that the BPM is attempting to do this as the user who authorises the release?

The workflow looks as below:

image.png.5f497a1f87f1da50601df51c9774e6f1.png

Worth mentioning the stage checkpoint gets set successfully and fails on the "Maintenance notification" node and if i re-trigger the bpm it does then work as intended.

Any ideas?

Thanks in advance

Link to comment
Share on other sites

@Michael Risby,

To perform an action in the Service Manager App, it is required for the user to have access to the App. I would suggest for you to add a Human Task and assign it to the Request owner or a supervisor, after the Release Approval node.

Link to comment
Share on other sites

Below, I have illustrated how this can be achieved. I have used Entity > Requests > Get Request Information > Request Details Automated Task to get the Request's details and use the variable picker to automatically assign the Request's owner to the task.

Screenshot 2018-11-13 at 14.39.41.png

Used the Variable option in the Assign To property to the task to pick the Request's owner.

Screenshot 2018-11-13 at 14.42.49.png

Screenshot 2018-11-13 at 14.41.11.png

I hope this helps.

 

Link to comment
Share on other sites

Thanks Ehsan, ok i see how that would work, but it seems odd to confirm the authorisation, if possible i would like to avoid any manual human tasks and automate as much as i can.

would it not work if i did an automated task node to assign the owner of the call back to the person who logged the call?

I guess my confusion here comes from why the authoriser is the user trying to call the email notification node, i would have expected the owner of the call would be used by the BPM not the last user to perform an action.

Link to comment
Share on other sites

@Michael Risby A collaboration user who is not granted the right to view Service Manager App will not be able to perform a Service Manager action and re-assigning the Request owner includes this, unfortunately.

A correction in my previous screenshot; Entity > Requests > Get Request Information > Request Details Automated Task needs to be positioned before the Release Approval node as this Automated Task will also require the right to view Service Manager App. Unfortunately the only alternative is to gate the Authorisation node with a manual Human Task.

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...