In workflow, can you view the metadata that you have setup in the job output presets? In version 7, you could view the metadata and use it to set variables in workflow. With connect, I can’t view the metadata and set them to variables. what is the best way to get some data from connect to an external database?
Hi @diane,
I assume that you would like to assign a metadata value to a Job Info Variable, Local Variable or Global Variable after the Create Job plugin has been executed, is that correct? If that’s correct, please note that you can assign a metadata value by executing the following steps:
- Add a Set Job Infos and Variables Workflow plugin to a Workflow process
- Choose the Job Info Variable, Local Variable or Global Variable in the Properties window of the Set Job Infos and Variables Workflow plugin and do not assign a value yet to the selected Variable
- Step through the Workflow process in Debug mode until the Create Job Workflow plugin has been executed
- Open the Properties window of the Set Job Infos and Variables Workflow plugin–don’t stop the Debug process–right click in the Value input field of the Variable to which you would like to assign a metadata value to and select the option “Get Metadata Location…” to select the metadata location of which you would like to assign the value to the selected Variable.
Doesn’t this require that in the Execute Data Map plugin, that the Output Type be set to “Metadata”, so that all of the metadata fields (not just the ID) fall through?
Also, be aware that OL has never fully resolved the “legacy Workflow metadata” vs. “Connect Metadata” issue. Document Sets don’t become Groups, page counts aren’t accurate, etc.
(And if you use any of the “Metadata related” plugins you will eventually need to push your changes back into the Connect database with an “Update Data Records” plugin.)