Mark (ESC) Posted March 9, 2022 Share Posted March 9, 2022 Hi All Been looking at this again, want to log the date/time an email is received into the inbox, and compare it to the time the ticket is then created. Using the Node in the BPM for Source Email Details, but then not sure how this works. For example, where does "&[global["flowcoderefs"]["getEmailInformation"]["timeReceived"]]" eventually get stored? Been using for reference this page https://wiki.hornbill.com/index.php?title=Service_Manager_Business_Process_Workflow#Source_Email_Details Link to comment Share on other sites More sharing options...
Steve Giller Posted March 9, 2022 Share Posted March 9, 2022 On 3/9/2022 at 2:28 PM, Mark (ESC) said: For example, where does "&[global["flowcoderefs"]["getEmailInformation"]["timeReceived"]]" eventually get stored? &[global["flowcoderefs"]["getEmailInformation"]["timeReceived"]] is a variable, you can store it wherever you choose, for example in a Custom Field. Link to comment Share on other sites More sharing options...
Mark (ESC) Posted March 9, 2022 Author Share Posted March 9, 2022 28 minutes ago, Steve Giller said: &[global["flowcoderefs"]["getEmailInformation"]["timeReceived"]] is a variable, you can store it whereever you choose, for example in a Custom Field. Thanks @Steve Giller, this is probably where my understanding falls down, how to I assign that variable to a custom field to report on. That is the step I cannot find any wiki or documentation on. Link to comment Share on other sites More sharing options...
Martyn Houghton Posted March 9, 2022 Share Posted March 9, 2022 @Mark (ESC) To update the Custom Fields, use the Requests > Update Requests > Custom Fields node to take the output from the Source email node. Note there is an Known Issue with the Get Source Emails Details, which may result in the information not being populated. https://success.hornbill.com/hornbill/servicemanager/service/21/known-issues/ Cheerrs Martyn Link to comment Share on other sites More sharing options...
Steve Giller Posted March 9, 2022 Share Posted March 9, 2022 @Mark (ESC) The details should be on this wiki page, scroll down to Requests, then keep going to Update Request, then a little bit further to Custom Fields. More details on variables can be found on this page. Link to comment Share on other sites More sharing options...
Mark (ESC) Posted March 11, 2022 Author Share Posted March 11, 2022 @Steve Giller & @Martyn Houghton Thanks for the advice above, will read through these, see what I can do. Link to comment Share on other sites More sharing options...
Steve Giller Posted March 11, 2022 Share Posted March 11, 2022 @Mark (ESC) Regarding the Known Issue, if you avoid putting the Get Source Email node at the start of the Workflow this mitigates the issue. If you do experience it and the Workflow fails then restarting the workflow is normally successful. 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