Hi All ,
I am trying to achive the following process;
User presses button to bring up a from and enters a value, this then finds the record in my BO and changes the value of a different attribute.
At the moment i have done this by running a qurey using form to allow the use to search for the data, and then i have added a process to operations with records which changes a status atribute from 'open' to 'complete'. However, this means the user has to manaly select the row of data to change the status.
Do anyone have any ideas on how to do this?
Search using form and then change value of an atribute
-
- Posts: 1460
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
Re: Search using form and then change value of an atribute
HiJHew wrote:Hi All ,
I am trying to achive the following process;
User presses button to bring up a from and enters a value, this then finds the record in my BO and changes the value of a different attribute.
At the moment i have done this by running a qurey using form to allow the use to search for the data, and then i have added a process to operations with records which changes a status atribute from 'open' to 'complete'. However, this means the user has to manualy select the row of data to change the status.
Do anyone have any ideas on how to do this?
Create a Query and set Use Form
Create a Process
Code: Select all
PICK FROM NameOfYourQuery NO CONFIRMATION FOR ONE
NameOfSubProcess
The PICK FROM will put the BO into context and then the process can run against it.
Alternatively you can just use a user prompt in the FIND statement within a query
eg
Code: Select all
FIND BusinessObject WHERE (BusinessObject.Attribute=?SomeTextValue
ProcessNameWithBusinessObjectAsInput