347
Views
8
Comments
Solved
Long Undocumented Flow-Minimum no of comments.

HI,

I am having a logic with around 30 to 40 nodes ,so What is the minimum number of comments should be added in a logic

so that it will not reflect as long undocumented flow in architecture dashboard.


What if we add 15 comments in the logic of 30 to 40 nodes and tag each comment to 2 or more nodes, will it not reflect in the arch dashboard?

I tried it but its reflecting that's why wanna know what is the minimum no of nodes to be added.

Thanks,

Pushaan

2024-11-20 08-28-20
Pedro Marques
Solution

Hi Mitta,

If your action has more than 40 nodes, adding comments won't get rid of that warning.

You should consider break that logic into more actions.

Hope this helps,

Pedro

UserImage.jpg
Mitta Venkata Pushaan Reddy

Hi Pedro,

Ya i understood that but now i cannot break the flow as it was developed by some other person and i can also see that in the below screenshot it is mentioned it is hard to maintain if no comments are added but i have added the comments yet it is not going away from arch dashboard.

2024-11-20 08-28-20
Pedro Marques

I can be wrong, but I think that after 40 nodes the warning just won't disappear no matter how many comments you make

UserImage.jpg
Mitta Venkata Pushaan Reddy

I think it will be solved because it's mentioned in the pic which I have attached previously that place comments to explain portions of your flow but I am not sure about the minimum no of comments to be added

UserImage.jpg
Tiago Mendes

hey @Mitta Venkata Pushaan Reddy ! I was wondering if it was solved only by comments or if @Pedro Marques was right and after 40 nodes you just need to break it into more actions, thanks for the help!

2022-09-27 05-23-26
Mohammad Shoeb
Solution

Hi Mitta,

If the code has written by some other resource and you are facing challenges to understand the code so there is one option "Extract to Action" for particular code snippet for both client and server actions.

OutSystems itself handles the input and output parameter for the piece of code.

Hope it helps.

Regards,

Shoeb

 

2022-09-20 06-28-12
Nitish Kumar

Shoeb Khan, I agree this is the best one to do for the above-mentioned issue.

Cheers!

2024-11-20 08-28-20
Pedro Marques
Solution

Hi Mitta,

If your action has more than 40 nodes, adding comments won't get rid of that warning.

You should consider break that logic into more actions.

Hope this helps,

Pedro

UserImage.jpg
Mitta Venkata Pushaan Reddy

Hi Pedro,

Ya i understood that but now i cannot break the flow as it was developed by some other person and i can also see that in the below screenshot it is mentioned it is hard to maintain if no comments are added but i have added the comments yet it is not going away from arch dashboard.

2024-11-20 08-28-20
Pedro Marques

I can be wrong, but I think that after 40 nodes the warning just won't disappear no matter how many comments you make

UserImage.jpg
Mitta Venkata Pushaan Reddy

I think it will be solved because it's mentioned in the pic which I have attached previously that place comments to explain portions of your flow but I am not sure about the minimum no of comments to be added

UserImage.jpg
Tiago Mendes

hey @Mitta Venkata Pushaan Reddy ! I was wondering if it was solved only by comments or if @Pedro Marques was right and after 40 nodes you just need to break it into more actions, thanks for the help!

2019-03-12 12-28-20
Shivangi Thakur

Hi @Mitta Venkata Pushaan Reddy ,


Try using comments wherever there is a complex logic written with in the flow, check on the architecture dashboard if the warning goes away. But the ideal practice is to keep the flow short and if it is very long try to break it as mentioned in the image. 


Thanks

Shivangi  

2022-09-27 05-23-26
Mohammad Shoeb
Solution

Hi Mitta,

If the code has written by some other resource and you are facing challenges to understand the code so there is one option "Extract to Action" for particular code snippet for both client and server actions.

OutSystems itself handles the input and output parameter for the piece of code.

Hope it helps.

Regards,

Shoeb

 

2022-09-20 06-28-12
Nitish Kumar

Shoeb Khan, I agree this is the best one to do for the above-mentioned issue.

Cheers!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.