09-03-2015 08:27 AM
We use the property bag in workflow to hold temporary values and then assign them to keywords. It looks like this has failed intermittently and I can't figure out the reason for it. Ultimately, when this fails the keyword ends up being empty because the property bag has been emptied.
So my question is.. what operations would clear the property bag? Is it reliable enough to keep using in workflow or should we try to move off of it?
01-13-2016 06:27 AM
Each Workflow User has 2 Property Bags. The Session Property Bag and the Scoped Property Bag.
Properties in the Session Property Bag persists for the duration of a User's Session. That is, the Session Property Bag is created when a User logs on and starts using workflow, and is deleted when the User logs out.
Properties in the Scoped Property Bag persist only for the duration of a particular Workflow Task
Each Action & Rule that references properties includes a Use Scoped Property Bag CheckBox. Leave it unchecked to use the Session Property Bag
Individual Property Values can be cleared by using the Set Property Value Action and setting the property to a blank value.
It's much more common to clear value from the Session Property Bag rather than the Scoped Property Bag. In that case just leave Use Scoped Property Bag unchecked
In OnBase 15 the new Set Multiple Property Values Action can be used to clear multiple properties at once
01-12-2016 06:08 PM
01-13-2016 04:19 AM
Properties within workflow will clear when the session to the database is reset - such as an application pool recyle or a thick client relaunch.
To set a property to "nothing" within workflow, use the Action Type "Set Property Value" and select the "Constant value" radio button. Leave the input line for "constant value" blank.
01-13-2016 06:27 AM
Each Workflow User has 2 Property Bags. The Session Property Bag and the Scoped Property Bag.
Properties in the Session Property Bag persists for the duration of a User's Session. That is, the Session Property Bag is created when a User logs on and starts using workflow, and is deleted when the User logs out.
Properties in the Scoped Property Bag persist only for the duration of a particular Workflow Task
Each Action & Rule that references properties includes a Use Scoped Property Bag CheckBox. Leave it unchecked to use the Session Property Bag
Individual Property Values can be cleared by using the Set Property Value Action and setting the property to a blank value.
It's much more common to clear value from the Session Property Bag rather than the Scoped Property Bag. In that case just leave Use Scoped Property Bag unchecked
In OnBase 15 the new Set Multiple Property Values Action can be used to clear multiple properties at once
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.