Hi all
I want to make a process with an attribute called Step. Step has 3 static choices: pending, in progress, and closed. Now I want to make a button on the table so that every time I click on it (e.g. the button), it will change to next choice accordingly.
EXP: pending --> click button --> in progress; in progress --> click button --> closed, etc.
How can I modify the process for button?
Thanks in advance for your help.
If else statement in processes
-
- Posts: 2405
- Joined: Mon Jul 02, 2012 12:24 am
- Location: Ulaanbaatar, Mongolia
In the Textual Rules for the Process enter....
If MyProcess.Step='pending' Then
MyProcess.Step='in progress' ELSE
If MyProcess.Step='in progress' Then
MyProcess.Step='closed'
Where MyProcess is the name of the BO for which Step is an attribute.
Click the button to call this process.
If MyProcess.Step='pending' Then
MyProcess.Step='in progress' ELSE
If MyProcess.Step='in progress' Then
MyProcess.Step='closed'
Where MyProcess is the name of the BO for which Step is an attribute.
Click the button to call this process.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....