Hi y'all,
I hope one of you is able to help me
I have to change the name of a field in a data schema. That field is used in several workflows (queries, enrichment, extraction...). When I change the name in the data schema I need to adjust the queries and so on. Is there a way to get a list of all workflows which use the edited field? I do not wanna go through every single activity of each workflow (we have lots!).
The only thing I managed so far is a list of all workflows with the text of queries... I am thankful for any hints!
Best,
Bella
Solved! Go to Solution.
Views
Replies
Total Likes
Didn't realize that was possible, xtk still surprises me. Alright follow these steps:
Hi,
Use generic query editor (under Tools at top menu) to search xtk:workflow, the ‘data’ field. Put folder/@fullname in the result fields.
Thanks,
-Jon
Views
Replies
Total Likes
Hi Jon,
thanks for your quick reply! Unfortunately, that is not what I needed. Your suggestions returns the path were the workflows can be found. But I need to know which workflows have the field I changed, first.
For example: I need to rename EMAIL_NUTZUNG. After the change I have to adjust all workflows which use that field. So far I only managed to get this: of all workflows the text of one query.
Not really helpful since I have to check every single query in the list and I can't see whether the field EMAIL_NUTZUNG is used in other activities of the workflow too...
Any ideas?
Thanks,
Bella
Views
Replies
Total Likes
Add internal name to the result fields.
For activity-level search, edit the workflow xml (ctrl-f4 when viewing), then find-all the text by pasting into vs code or notepad++.
Views
Replies
Total Likes
That helps a little, thanks!
But the other problem remains: if a workflow has several queries the generic query editor only returns the text of one. The following one has 5.
<col>
<val>WKF1049</val>
</col>
<col>
<val>Abfrage: ANZ_PRD_KREDIT_KART gleich 0</val>
</col>
<col>
<val>Onboarding_ITPPC-17</val>
</col>
Do you know how I can get the text of all queries in a workflow?
Didn't realize that was possible, xtk still surprises me. Alright follow these steps:
Thank you so much, Jon! That's exactly what I needed! You saved my day!!!
Have a great weekend!
Best, Isabelle
Views
Replies
Total Likes