Jump to content

Output variable not available later in BPM


Steven Cotterell

Recommended Posts

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.

image.png.0af916a8dcc4f8925a5bed63115d38a7.pngimage.thumb.png.d6c92040c15edb0028ba414b82fd9431.png

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

@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. 

  • Thanks 1
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...