Document Sequence as Runtime Parameter

Hi,
I need the Document Sequence # in the DataMapper, soI’ve set a “DocSequence” parameter, to which I need to pass the automation value in the All in One process in Workflow.
I can’t work out how to define the value in workflow. The %document.nr or %document.sequence.job which work when adding Additional content doesn’t return any value.

thank you!
Akis

First off %document.nr and %document.sequence.job are not populated until an output profile is executed.

If you’re looking to pass parameters into a data mapper, you first need to define the parameter within the data mapper (see ‘parameters’ tab). You can then extract the value of this into a field or use it within some javascript (automation.parameters.myParameterName).

Once you have sent the data mapper to the workflow, you can set the values of any parameters via the Execute Data Mapper plug-in (or All In One) - the parameters will appear at the bottom of the dialog window where you can assign it a literal or variable value to each.

You can also use parameters with templates directly in much the same way.

Hi @dwetherilt,
that’s exactly what I’m trying to do, but don’t know how to set the value of the document sequence number in the All In One plug-in.
What is the variable name that I have to set for the parameter in order to return the %document.nr to the datamapper, after the output profile is executed?

thanks
Akis