Including temporary branches in EffDated query
results
In user-interface interactions, when a new job is created, a temporary branch, or policy graph, is created in the database. PolicyCenter adjusts the branch to represent the initial state of the new job, removes the temporary flag, and commits the changes. These temporary branches exist for a very brief time and have little, if any, value to processes other than that which is creating the new job.
You may have custom code that create new jobs. Examples include integration- or spreadsheet-driven import and migration of policy data. These processes create temporary branches in the database, just like user-interface interactions.
Your process may need to
access and change the EffDated
entities in the newly created temporary branch. For example, your process
adjusts the data by normalizing upper and lower case in certain fields.
To access the EffDated
entities on the temporary branch, call the withFindTemporaryBranches method
on the query with value true.
