Update Parent Process Data - Updating comments
Trying to get the comments from the sub process to update the comments from the main process. I can get the comments there by mapping each individual component of the comment (commentId, comment, commentedBy, commentedOn), but any comments that were previously recorded in the main process are overwritten. Is there a way to do this?
-
Hi Patrick,
unfortunately you can't update repeating data from child to parent out of the box (except you have shared data option for the subprocess), but you could save the comma separated comments to an additional variable and then in the parent process with a loop add all comments to this variable to be also comma separated. After that you have one variable with all comments and then you use regexp activity to break this comma separated variable to repeating data and then you could map this repeating data to the comment control. In description it is quite complex, but in reality this could be done in 10 minutes :)
Regards
Alexey
-
Hi Patrick,
you update your comma delimeted string to you parent process. Then you add to that comma delimeted the previous one and then you use Regular Expression activity (you will find it under utils). You can fin in internet how to have multiple outcomes from comma delimeted string with regular expresion.
Regards
Alexey
请先登录再写评论。
评论
3 条评论