Set (to empty) embedded data in directory from Java code | XM Community
Skip to main content

Hi XM Community, I would need support to set up a workflow that allows me to delete all values of a field (embedded data) in the directory. Qualtrics technical support suggested to use the "Code" task, which allows to run a custom code. Has anyone developed or is able to write Java code that performs this activity? The goal is for the workflow to "empty" the expected column, leaving all values blank. 

 

I hope someone can help me and the post will also help other users who will be in my scenario.

Andrea

@Amantelli 

Have you tried just creating an XMD Task and updating embedded data with blanks or an API which updates based on Contactid before going to code task.

 

 


@Deepak thank you for responding. I have already investigated the XMD Task with Q Support, but without success. They suggested me to use the “Code” task, that should be easier to setup than an API call.


@Amantelli 

I believe API would be a lot easier, if your brand has webservice task enabled. With code task it would be complex, not sure why that was recommended.

 


@Deepak could you suggest the specific API I should use? I kindly ask you also to explain the procedure to setup this - which are the steps to follow? Any additional material could be useful (e.g. support page link).


@Amantelli

Have you tried just creating an XMD Task and updating embedded data with blanks or an API which updates based on Contactid before going to code task.

 

 

@Amantelli I have linked the API here and you can refer this support page

Hope it helps!


Leave a Reply