Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!
SOLVED

Inserting information into a worktable

Avatar

Level 2

I have a workflow that takes a group of recipients and spilts them into subsets, emails those recipients, and saves the temporary table with a ListUpdate so that we can associate the results of the tracking with individual segment codes. However, I need to save additional information during the workflow.

Specifically I need to associate more data per segment code that is not consistent between sends, (external_system_ids, specific variation codes, and a pre-personalized subject line). Is there any simple way to enrich the temporary table by INSERTING data directly into it from some bit of code provided from within the workflow?

After the Split, I would prefer to be able to turn this temporary worktable schema:

into this:

I would like to refrain from requiring some pre-created external table, since if that was required it would need to be recreated before every new campaign.

Best case scenario would be something that could be saved into a specific templated workflow and then adjusted at a few points for the specific campaign.

TDRL: Is it possible to insert campaign specific information directly into a temporary worktable from the workflow? (such as from the JavaScript or with SQL)

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Adam,

After you create the column by enrichment, you can write the data there using an expression or function using the advanced selection field.

Alternately you can also use a JS to write that into the temp table in the columns created.

xtk.session.Write(<query _operation="insert" _key="@id" col1="" col2="" xtkschema="temp:enrichment"/>);

Regards,
Adhiyan

View solution in original post

3 Replies

Avatar

Employee Advisor

Hi adamk81589338 ,

You can use an Enrichment activity right after the Split and then Add new columns to the transition to feed data of choice.

Regards,
Vipul

Avatar

Level 2

Thanks, I was looking at enrichment was wasn't entirely sure if it would do what I wanted. To clarify:

We can add new -empty- columns during the enrichment process, correct?

After adding the columns during the enrichment process. How do I feed data into the worktable? The best case for me would be to be able to feed from the delivery itself so I can enter data at the recipient level as its being evaluated. However, any suggestions here, or short examples would be very helpful.

Avatar

Correct answer by
Employee

Hi Adam,

After you create the column by enrichment, you can write the data there using an expression or function using the advanced selection field.

Alternately you can also use a JS to write that into the temp table in the columns created.

xtk.session.Write(<query _operation="insert" _key="@id" col1="" col2="" xtkschema="temp:enrichment"/>);

Regards,
Adhiyan