JobIfo doesn't work with workflow and Connect

Hello :slight_smile:

I send to the datamapper and designer a data by a JobInfo.

In the datamapper, I fill in a value in the “fixed automation properties”. In the designer, I get back the value and all is working well.

I send the designer+datamodel to the workflow. When I create web content, the jobInfo is not found. However, before creating web content, i’ve well fixed a value to the jobInfo.

Why during the developpement with Connect, it works and associated with the worflow, it doesn’t work ?

I followed that: How can I access a metadata value in my Connect template? - Designer - Upland OL User community

Thanks for your help

Tenalp

Just to make sure: are you using the latest version of Connect? This specific feature was implemented in Connect 1.1

Yes, i’ve the version 1.2.1

Are you setting your jobInfos before the Execute Data Mapping task?

You should set a default value in the DataMapper. That way, if you the default value is displayed in your Web Content, it means it’s the DataMapper that never received the jobInfo. However, if you set a default value in the DataMapper and the Web Content still displays nothing, then we’ll have to look at the template itself.

I’ve specified a value “Preprocessor->Fixed Automation Properties->JobInfo9->Default value = 8”.

In the datamapper, I only have an extraction step between start and stop.

In the field definition, javascript is used with “automation.jobInfo.JobInfo9;”

If I preview the template, I well have the value. After sending the configuration to the workflow, I don’t get any value in the web content.

That didn’t answer my first question: in the Workflow process, are you setting your JobInfos prior to executing the data mapping operation?

Are you even calling the data mapping operation? If not, then obviously the DataMapper won’t run and won’t set a value (not even a default value).

Then again, if you don’t need to call the Datamapper, then there’s no need for you to provide a DataMapping configuration: the Web Template can make use of the automation properties without the DataMapper being involved.

My apologies

I was executing the datamapper before setting the jobInfo. Now it works.

Again my apologies and thanks a lot for your help