Platform
Learn
Community
Support
Partner Center
Sign up
or
Log in
logout
Account Settings
Profile
messages
Messages
logout
Logout
Platform
Home
Downloads
IPP
Licensing
Project Sizing
Learn
Training
Documentation
Evaluation Guide
What's New
Community
Home
Forums
Forge
Ideas
Members
Support
Partner Guide
Resources Library
Opportunities
Account Management
Sign up
or
Log in
Home
Forums
Forge
Ideas
Members
Dear ,
What would improve your OutSystems Community experience? Let us know by taking this 2-minute survey.
Pick up the survey
Community
›
Forums
›
Technology & Integration
how to increment a counter variable based on a specified condition
Community
›
Forums
›
Technology & Integration
how to increment a counter variable based on a specified condition
New Post
New Post
prashanth cherla
Posted on 2013-06-27
prashanth cherla
Rank: #22200
Posted on 2013-06-27
Hi All,
I have a requirement in my project. I have counter variable which need to increment whenever a specified condition(If condition) is satisified and then i need to add the corresponding values into a collection object like ex:List<T> in .Net.How can we achieve this in outsystems.
Thanks,
Prashanth
Gonçalo Martins
mvp_badge
mvp_label
Posted on 2013-06-27
Gonçalo Martins
mvp_badge
mvp_label
Rank: #49
Posted on 2013-06-27
Solution
Hello
Prashanth
I don't know if I understood your question, but to achieve something like that you can use some components from Forge that can handle that kind of data structures:
http://www.outsystems.com/forge/Component_Detail.aspx?ProjectId=177&ProjectName=extension-hashset
http://www.outsystems.com/forge/Component_Detail.aspx?ProjectId=21&ProjectName=extension-hashtable
Hope this helps.
Kind Regards,
GM
Solution
José Caldeira
Posted on 2013-06-27
José Caldeira
Rank: #1232
Posted on 2013-06-27
Solution
SampleFlow.oml
Hi Prashanth,
You can do that by using the flow editor with
If
and
Assign
nodes, and a
ListAppend
action.
I've built a small example, and you can check how you can use this on real applications in our
Academy
, here's an example of the
ListAppend
. For other situations, you can also use our components as Gonçalo was stating.
Hope this helps. If you still have doubts, keep them coming ^_^
Cheers,
Solution
Quick Reply
attachment
Choose File
No file chosen
Submit
Login to reply
New Post
Available Forums
Technology & Integration
News and Announcements
Forge Discussions
Meta
Community Quick Guides
Usability
Installation Troubleshooting
Personal Environment Troubleshooting
Forum Notifications
Email Digest Settings
Loading...