Giuseppe Iannacone Posted July 25, 2019 Posted July 25, 2019 is it possible to add an authoriser from a human task capture field? i was trying with this sintax, with no luck... &[functions.getTaskAnswers("task-XXXXXX").ITapprover]
Steven Boardman Posted July 25, 2019 Posted July 25, 2019 @Giuseppe Iannacone the short answer is yes, I have this working on my instance. And by this i mean i can use the variable picker on an authorisation node, and inject the answer from a custom task question as the approver. Could you post any error messages you are seeing, or what is not working for you? The only error i am able to create, is if the co-worker i add is a of type Basic. Basic users can't be assigned approvals or tasks, so an error is thrown. If the chosen user is of type user this should work fine.
Giuseppe Iannacone Posted July 29, 2019 Author Posted July 29, 2019 @Steven Boardman I think you are right, here is the error message, and infact the user is a basic one. another topic... is there a way to reference the completion details of a previous stage task?
Steven Boardman Posted July 31, 2019 Posted July 31, 2019 @Giuseppe Iannacone you should be able to reference content from other nodes in your process - what are you looking to do? inject variables as information for the approver? if so an upcoming change maybe of interest to you. In a Service Manager update due out in the next few weeks, you will now be able to provide an approver (NOT BASIC USER) with a read only view of the Change or Service Request against which they are being asked to make a decision - hence less need to inject as much information into the approval task itself. This work is complete and will be available in the coming weeks, again not for basic users, but for your approvers (collaboration subscribers who do not have a Service Manager subscription).
Giuseppe Iannacone Posted July 31, 2019 Author Posted July 31, 2019 @Steven Boardman yes, the idea is to inject additional information from a variable in other stages' node on the same process (we are by the way adding the approvers as connection to the request, so they are by the way able to see the timeline, but you know, sometimes you got very looooooooong timeline to check, so a quick overview into the task will be useful)
Steven Boardman Posted August 1, 2019 Posted August 1, 2019 @Giuseppe Iannacone makes complete sense. You should simply be able to use the variable picker in the authorisation details field. It looks like you are already trying to do this from your screenshot. * Does the task from which you are trying to use the completion details still exist in the stage? * Is the task in the direct path of the authorisation node in your flow - i.e it will appear before the authorisation Just some thoughts, as you should be able to do exactly what you need, the error is suggesting that the variable you are trying to inject does not exist (anymore)
Giuseppe Iannacone Posted August 2, 2019 Author Posted August 2, 2019 @Steven Boardman yes, as I said, maybe not so clearly (sorry language gap here ) the task I'm trying to get the info is on another stage so at stage where am I into the process the task "doesn't" exist. I believe i should record it into a custom field maybe? or into a form property?
Steven Boardman Posted August 2, 2019 Posted August 2, 2019 @Giuseppe Iannacone if the task you want to reference is in another stage, then yes it will be not be accessible to use to inject, so you would need to copy the completion reason into a custom filed, then in the stage which has the approval node, you will need to use a Get Request Details node before the approval node(to load the latest request info into the current stage), and then inject the values from the custom field into the approval details field.
Giuseppe Iannacone Posted August 2, 2019 Author Posted August 2, 2019 @Steven Boardman I was suspecting something like this... another idea is that I'm storing the tasks result in the previous stage into a timeline update, can i get that "timelineID" to be used into the approval injection
Steven Boardman Posted August 2, 2019 Posted August 2, 2019 @Giuseppe Iannacone unfortunately not, i think the custom field approach might be the way to go here
Giuseppe Iannacone Posted August 2, 2019 Author Posted August 2, 2019 @Steven Boardman thanks for the feedback anyway
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now