Mihiri Kotalawela Posted November 30, 2017 Share Posted November 30, 2017 Hi, I have set following fields under the 'Get form answers' automated task in the business process as follows - to display the first question of the progressive capture under the 'Summary' field - set the 'Description' field to 'auto' Business process I am referring to is - https://admin.hornbill.com/walthamforest/app/com.hornbill.servicemanager/workflow/bpm/digital-team-v2/ But, requests logged via the portal do not contain any information in the 'Description' field under the 'Details' section. Am I missing something? Thank you, Mihiri Link to comment Share on other sites More sharing options...
Dan Munns Posted November 30, 2017 Share Posted November 30, 2017 You will need to do the flowcode (as you have in the summary) if the PC is a custom form. Also you will need to download the BPM definition file and upload for everyone to see it. At the moment you have posted a link to your instance. Link to comment Share on other sites More sharing options...
Victor Posted November 30, 2017 Share Posted November 30, 2017 59 minutes ago, Mihiri Kotalawela said: set the 'Description' field to 'auto' May I ask what is your expectation of this configuration? Link to comment Share on other sites More sharing options...
James Ainsworth Posted November 30, 2017 Share Posted November 30, 2017 Hi @Mihiri Kotalawela Having the Description option set to 'Auto' indicates that it will use the default setting for this field which in this case would be not to update the description. If you are trying to apply the description using the answers from progressive capture you will need to do as @Dan Munns suggested and configure the description in the same way that you did the summary by setting the Description to Manual and provide the appropriate text/variable. Regards, James Link to comment Share on other sites More sharing options...
Mihiri Kotalawela Posted November 30, 2017 Author Share Posted November 30, 2017 Hi, Thank you. Yes what @Dan Munns suggested works. But there is one more issue. As I want to display the answer 5 under 'Description', I used the following code. &[global["flowcode"]["answer5"]] It displays the text 'Undefined' under 'Description' even if I have provided a value for all the questions. I have downloaded the BP and have uploaded here. Regards, Mihiri digital-team-v2.bpm.txt Link to comment Share on other sites More sharing options...
Dan Munns Posted December 1, 2017 Share Posted December 1, 2017 @Mihiri Kotalawela Firstly you are using an old 'Get Request Questions' node. I would suggest changing this to Get Request Information > Progressive Capture Answers. On the next node you can then select the question itself (rather than question 1, question 2) using the variable picker (press Ctrl and click into the field on the description to get the variable picker to pop up) Secondly are you using standard or custom PCs? (the standard assets selection PC form for example will provide 'Undefined' no matter what you select in this instance, as I found out the other day) Once you have done that, save and publish the BPM and see if that helps. Link to comment Share on other sites More sharing options...
Victor Posted December 1, 2017 Share Posted December 1, 2017 @Mihiri Kotalawela in your BP you are retrieving answers from the "SRDetails" form (the "Get Summary Details" node). This form does not have 5 answers it only has 1, this is why you get the "undefined"...: I understand that you are trying to capture the 5th answer in the progressive capture but this one does not come from "SRDetails" form... The progressive capture for the request (Digital...) looks very complex so the 5th answer can originate from various forms... so the best solution is to implement @Dan Munns suggestion. @Dan Munns just an FYI anyone can use the old 'Get Request Questions' node, it should work fine as long as it is used correctly and the functionality understood... Link to comment Share on other sites More sharing options...
Mihiri Kotalawela Posted December 1, 2017 Author Share Posted December 1, 2017 Thank you @Dan Munns and @Victor I am using the information in custom PCs and it works Really helpful. Kind regards, Mihiri Link to comment Share on other sites More sharing options...
Dan Munns Posted December 1, 2017 Share Posted December 1, 2017 @Victor I know, but whenever something says 'undefined' i figure it is easier to be able to explicitly select the question you require. Link to comment Share on other sites More sharing options...
Victor Posted December 1, 2017 Share Posted December 1, 2017 @Dan Munns yes, of course Link to comment Share on other sites More sharing options...
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