I want to bring the recipient folder in my update data activity dynamically and the folder id should not be hardcoded.
Please refer to the following image.
Currently, I am adding this recipient folder myself in update the data
also, the folder id is hardcoded, an immediate help will be appreciated
As the link between recipient and folder has a default value, if you want to place the recipient in the default folder, the simpliest way to do it is to not put anything. The recipient will be placed automatically in the default recipient folder :
<element defOnDuplicate="true" default="DefaultFolder('nmsRecipient', [@_folder-id])" name="folder" target="xtk:folder" type="link"/>
Otherwise, the Amine's solution is good with a custom queryDef.
Were you able to resolve this query with the help of the given solutions or do you still need more help here? Do let us know. In case the given solutions were helpful, then kindly choose the one that helped you the most as the 'Correct Reply'.