Mounir
Apprentice

Duplicated workflow comments

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 

 

 

0 Kudos
Reply
5 Replies
Thabang
Apprentice

Re: Duplicated workflow comments

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

Kind regards
Thabang
0 Kudos
Reply
Mounir
Apprentice

Re: Duplicated workflow comments

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 

 

 

0 Kudos
Reply
DavidL1
Apprentice

Re: Duplicated workflow comments

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.

0 Kudos
Reply
Mounir
Apprentice

Re: Duplicated workflow comments

DavidL,

 

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

 

Thanks

0 Kudos
Reply
Nik1
Apprentice

Re: Duplicated workflow comments

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/Comme...

0 Kudos
Reply