Michael_Lowry

Load prompt set default values from last-used values

Discussion created by Michael_Lowry on Feb 12, 2018
Latest reply on Feb 13, 2018 by Michael_Lowry

About a year ago, I devised a way to automatically save & load last-used settings in prompt sets. The trick is to use {VARA,KEY,COLUMN} references to EXEC VARAs in the default values of the PRPT elements. Due to some bugs in the Automation Engine, the approach was not reliable. However, with v12.1.1 these bugs are fixed and the approach is viable. I am attaching a set of objects that demonstrate the approach.

puowkqnukpxb.png
The first time the workflow is run, initial default values are loaded from the object UC0.LAST_USED_SETTINGS.INITIAL_DEFAULT_VALUES.VARA_STATIC.

srkvscvhvn7v.png
Select different values and click Done. The values will be saved in a new static VARA whose name is based on your user name. The next time you run the workflow, these values will be loaded as the defaults.

Enjoy!

Outcomes