Steven Cotterell Posted October 2, 2019 Share Posted October 2, 2019 Hi, In one of our BPMs I'm using some new functionality to create 'localised' dates from the 'scheduledStartDate' & 'scheduledEndDate' attributes, to use in emails & Microsoft Teams posts. The problem I have though is that I'm trying to access these dates later on in the BPM, in another 'stage' to post another Microsoft Teams message and they are not showing in the variable picker dialogs. How can I persist these values throughout the lifecycle of the BP? Thanks Steve. Link to comment Share on other sites More sharing options...
Steven Boardman Posted October 2, 2019 Share Posted October 2, 2019 @Steven Cotterell as the output params are limited to the current stage, you could look at adding the output value into a custom fields on the request in the current stage, and then on the next stage, use a Get Request Info node and use the custom field value (Assuming it is formatted as you need it) to inject in as a variable into the subsequent Teams message. 1 Link to comment Share on other sites More sharing options...
Steven Cotterell Posted October 2, 2019 Author Share Posted October 2, 2019 Thanks @Steven Boardman, I thought that might be one of the ways round it. Are there any plans to be able to make these variables persist for the life of the BPM, especially as we now have the ability to specify a 'Result Reference' to make variables unique if needed. Seems one of the next logical steps. Link to comment Share on other sites More sharing options...
Steven Boardman Posted October 2, 2019 Share Posted October 2, 2019 @Steven Cotterell I am not aware of anything at the moment, but i'll ask the question back in Hornbill and see 1 Link to comment Share on other sites More sharing options...
Steven Cotterell Posted October 2, 2019 Author Share Posted October 2, 2019 Thanks @Steven Boardman. I think this post from @samwoo falls somewhat into this area. Link to comment Share on other sites More sharing options...
samwoo Posted October 2, 2019 Share Posted October 2, 2019 12 minutes ago, Steven Cotterell said: Thanks @Steven Boardman. I think this post from @samwoo falls somewhat into this area. @Steven Cotterell, essentially what you are asking for is very much what I was asking for in the other topic. 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