Expand my Community achievements bar.

SOLVED

steps to update a dataflow using API

Avatar

Level 4

can someone give me the series of steps we need to do to update dataflow mapping. for ex: if the existing mapping for an attribute if its mapped as direct attributes from source, and now need to add a dataprep while mapping to target attribute. how can i do this using API. 

1 Accepted Solution

Avatar

Correct answer by
Level 7

@itsMeTechy 

Here are the series of steps to update dataflow mapping:-

  1. Find your dataflow and its mappingSetId
  2. Fetch the current mapping set
  3. Validate your new Data Prep expression (optional but recommended)
  4. Update the mapping set, replace the target attribute’s direct map with an EL expression.

    • PUT /data/foundation/conversion/mappingSets/{mappingSetId} (send back the full mapping set with your edited mappings[]).

  5. (If needed) Patch the dataflow to point to a new mapping set

  6. Run/verify

 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 7

@itsMeTechy 

Here are the series of steps to update dataflow mapping:-

  1. Find your dataflow and its mappingSetId
  2. Fetch the current mapping set
  3. Validate your new Data Prep expression (optional but recommended)
  4. Update the mapping set, replace the target attribute’s direct map with an EL expression.

    • PUT /data/foundation/conversion/mappingSets/{mappingSetId} (send back the full mapping set with your edited mappings[]).

  5. (If needed) Patch the dataflow to point to a new mapping set

  6. Run/verify

 

Avatar

Level 7

@itsMeTechy hope the answer provided was useful, can you mark the response as "Correct Answer" to help the wider community.