Duplicated workflow comments

  • 18 December 2018
  • 5 replies
  • 6 views

Hi,

Im using K2 deseigner to create an Access request app, and I need to display all comments from diffrent approvers , for that Im using workflow comment smartobject, but Im getting dupliacted comments on every state.

 

Any idea how to solve this issue ?

 

Thank you in advance 

 

 


5 replies

Good day
Please provide us with some screen shots to better understand the issue, thanks in advance.

Kind regards
Thabang

Hi Thbang,


Im trying to disply a list of all users's comments,  so Im getting something like this :

 

Comments 1 

User1, Date, Time

Comments 1

User1, Date, Time

 

Comments 2 

User2, Date, Time

Comments 2

User2, Date, Time

 

So as you can see comments from users are duplicated, Im supposed to get something like this :

 

Comments 1 

User1, Date, Time

 

 

Comments 2 

User2, Date, Time

 

Hope I made it clear, and thank you for your help 

 

 

Badge +11

A common reason you might get duplicate entries is you are using form states and both the base state and the current state are writing comments.  Remember, the rules in a base state are always executed (kind of like inheritance) when used in a subsequent state.

DavidL,

 

Im writing the rules on seprate form states but not on the base state.

 

Thanks

Badge +9

Are you using similar setup as described in the following reference?


https://help.k2.com/onlinehelp/k2five/userguide/5.1/default.htm#How-Tos/CommentsAndAttachments/CommentsAndAttachmentsWithWorkflow.htm

Reply