Dan Munns Posted January 30, 2018 Share Posted January 30, 2018 Hi all, Is there anyway we can have the 'undefined' text removed when a PC question isn't answered. As we now have dynamic PC forms, when using the variable picker to update call summary / description any unanswered questions show as undefined. As the user may not have been presented the question in the first place (yet I still have to put the variable in the description incase they have) I have to add a lot of unnecessary lines to the description field as shown below: Quote Create the relevant accounts for the following user: New Starter Name: &[functions.pcf("StarterDetails","StarterName")] Start Date: &[functions.pcf("StarterDetails","startdate")] Department: &[functions.pcf("StarterDetails","Department")] SYSTEM Access: &[functions.pcf("System_Access_Details","Aurius")] SUBSYSTEM1 Account Type (if required): &[functions.pcf("System_Access_Details","SUBSYSTEM1")] SUBSYSTEM2 Account type (if required): &[functions.pcf("System_Access_Details","SUBSYSTEM2")] SUBSYSTEM3 Account type (if requied): &[functions.pcf("System_Access_Details","SUBSYSTEM3")] SUBSYSTEM4 Account Type (if required): &[functions.pcf("System_Access_Details","SUBSYSTEM4")] SUBSYSTEM5 Account type (if required): &[functions.pcf("System_Access_Details","SUBSYSTEM5")] Which displays on the ticket as: Quote Create the relevant accounts for the following user: New Starter Name: Test User Start Date: 30/01/2018 Department: IT SYSTEM Access: SUBSYSTEM4 SUBSYSTEM1 Account Type (if required): undefined SUBSYSTEM2 Account type (if required): undefined SUBSYSTEM3 Account type (if requied): undefined SUBSYSTEM4 Account Type (if required): SUBSYSTEM ACCOUNT TYPE SUBSYSTEM5 Account type (if required): undefined All the SUBSYSTEM lines are lines from dynamic questions on the PC form. Only one or two of them will ever get answered but I can't just put them all in one line as I obviously then get the following: SYSTEM Access: SUBSYSTEM5 undefinedundefinedundefinedundefinedSUBSYSTEM5 ACCOUNT TYPE Thanks Dan Link to comment Share on other sites More sharing options...
ArmandoDM Posted January 30, 2018 Share Posted January 30, 2018 Hi @Dan Munns I could replicate the issue. I will report it to the relevant team to be fixed Regards Armando Link to comment Share on other sites More sharing options...
TSheward_SGW Posted February 1, 2018 Share Posted February 1, 2018 +1 Link to comment Share on other sites More sharing options...
Victor Posted February 1, 2018 Share Posted February 1, 2018 @Dan Munns @TSheward_SGW just an FYI, is being worked on... Link to comment Share on other sites More sharing options...
TSheward_SGW Posted February 9, 2018 Share Posted February 9, 2018 Great to know, thanks @Victor! How can I stay on top of the progress? Kind regards, Tom Link to comment Share on other sites More sharing options...
Victor Posted February 9, 2018 Share Posted February 9, 2018 @TSheward_SGW well we are working to have this section improved, with more details (like a reference, workarounds, dates, builds, etc.). But for now, if a published defect is no longer in this list, it means it has been resolved/fixed and the fix will be available in next Service Manager update. For formal requests logged with our support team that are found to be defects, we also provide a defect reference. You can use that reference to query about the progress... Link to comment Share on other sites More sharing options...
TSheward_SGW Posted February 12, 2018 Share Posted February 12, 2018 Hi @Victor, Don't know how to view/access the list you are referring to.. Thanks for your help as always, Tom Link to comment Share on other sites More sharing options...
Victor Posted February 12, 2018 Share Posted February 12, 2018 @TSheward_SGW the screenshot is taken from our customer success portal: https://success.hornbill.com/hornbill/. Log in using your email address and your password then navigate to "My Service Manager" service. 1 Link to comment Share on other sites More sharing options...
TSheward_SGW Posted February 12, 2018 Share Posted February 12, 2018 Thank you @Victor! Link to comment Share on other sites More sharing options...
Dan Munns Posted March 14, 2018 Author Share Posted March 14, 2018 @Victor has this been resolved as I cant seem to find it anywhere Link to comment Share on other sites More sharing options...
Victor Posted March 15, 2018 Share Posted March 15, 2018 @Dan Munns yes, it has been resolved but the fix was not yet deployed... Link to comment Share on other sites More sharing options...
Drew Davies Posted March 15, 2018 Share Posted March 15, 2018 Hi @Victor, is there any way to coalesce two values in the description? Link to comment Share on other sites More sharing options...
Victor Posted March 15, 2018 Share Posted March 15, 2018 @Drew Davies sorry, I am totally lost, I am not sure what two values you refer to? Link to comment Share on other sites More sharing options...
Drew Davies Posted March 15, 2018 Share Posted March 15, 2018 @Victor For example, in the event that one value is empty, use the other value in it's place: &[functions.pcf("newEmailDetails","emailAddress")] &[functions.pcf("newEmailDetails","alternativeEmailAddress")] If this were SQL, it would be COALESCE(&[functions.pcf("newEmailDetails","emailAddress")], &[functions.pcf("newEmailDetails","alternativeEmailAddress")]) --Is there any way to do this in Hornbill? Link to comment Share on other sites More sharing options...
Victor Posted March 15, 2018 Share Posted March 15, 2018 @Dan Munns I stand corrected... after I chased this internally, I found out this is (or was) a platform issue and was fixed in ESP build 2882... do you still experience the issue? @Drew Davies I'm afraid you can use any type of functions in BP nodes... so, no you can't coalesce the values Link to comment Share on other sites More sharing options...
Jenny Posted March 15, 2018 Share Posted March 15, 2018 Hi, We have a business process that was relying on using "undefined" to know when no options in a checklist had been selected. This is now no longer directing things in the same way that they were previously so I'm wondering if these no longer show as undefined? If so what does it now show up as as I'll need to amend our business processes so they work again Many thanks, Jenny Link to comment Share on other sites More sharing options...
Victor Posted March 15, 2018 Share Posted March 15, 2018 8 minutes ago, Jenny said: If so what does it now show up as as I'll need to amend our business processes so they work again @Jenny I can tell for sure, I need to check with dev team, but can you try and check for empty/NULL values (i.e. "is not set" ) and see if that works? Link to comment Share on other sites More sharing options...
Guest Paul Alexander Posted April 18, 2018 Share Posted April 18, 2018 On 3/15/2018 at 11:58 AM, Victor said: @Dan Munns I stand corrected... after I chased this internally, I found out this is (or was) a platform issue and was fixed in ESP build 2882... do you still experience the issue? @Drew Davies I'm afraid you can use any type of functions in BP nodes... so, no you can't coalesce the values Hello I'm taking a look at a few of our tickets and we are getting an 'undefined' entry when we try to update the details of a ticket from a Prog Capt if a particular question is not answered. Looking at this thread, this shouldn't now be happening (or is there a setting that I need to set to override this?). Or am I barking up the wrong tree here? thanks Paul 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