Good day to everyone! I just wanna ask if you across similar or related function that has approve, processing and reject? I want to have a function that another user will add a data and before the newly added to the database, before data is recorded it will be approved or reject or simply review by other user and if it s approved it will added and if it will reject it will deleted? Thanks! like it has button for approve or reject
I tried this link but doesnt work for me: https://www.outsystems.com/forums/discussion/89504/logic-for-approval-and-rejection-feature-is-not-working-properly/
The OML that i will posted is i just borrowed it from the top link. you can check it sir and ma'am
thnak you
then, try creating a static entity and using it as reference attribute in the entity and try, as I have added in the OML.
By using this method you can also have more options to modify your application.
Hey budang,
I have made some changes in the OML file try this modification in your application and try.
Note: check the approve and reject actions
thanks for checking out sir but the boolean have some problem it automatically goes to approve.
hEY It works! thank you so much sir!
Hi @budang haba, Try using workflow builder. its quick and simple one.
Thanks,
Madhuri
never heard this one before tnx
Hi, @budang haba
If you don't know work flow, what you can do, just create one request entity in that entity store the requested data and add one parameter for approver(userID) when any other user request for creating or updating data, just store that request in request entity and create one notification for approver and based on approver action you can create or update records in original entity like if approve - create records in original entity else if reject just request from request entity and send message to user that your request is rejected.
let me know if it works for you ?