64
Views
7
Comments
Solved
Simple Approval, Processing and Reject function
Question
Application Type
Reactive
Service Studio Version
11.54.52 (Build 63199)
Platform Version
11.27.0 (Build 42539)

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

Approve_Reject.oml
2024-02-02 10-09-47
Mukesh Kumar Deva
Solution

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.

Approve_Reject.oml
2024-02-02 10-09-47
Mukesh Kumar Deva

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

Approve_Reject.oml
UserImage.jpg
budang haba

thanks for checking out sir but the boolean have some problem it automatically goes to approve.

2024-02-02 10-09-47
Mukesh Kumar Deva
Solution

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.

Approve_Reject.oml
UserImage.jpg
budang haba
2023-05-02 10-33-02
Madhuri Patil

Hi @budang haba,

  Try using workflow builder. its quick and simple one.


Thanks,

Madhuri

UserImage.jpg
budang haba

never heard this one before tnx

2025-07-31 10-32-21
Vikram garasiya

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 ? 

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