REQ and RITM status

Simona6
Tera Contributor

As I submit the request REQXXXXX is created with Approval and request state field which is in APPROVED state

RITMXXXX is created in Requested Item.

Requirement-User want as the REQ is created  Approval field should be 'Requested' and Request state should be 'Pending Approval'.If user Approve the RITM,Approval=Approved and Request State=Approved.If user reject,Approval=Rejected and Request state=closed Rejected.

Is it even possible?

What is the best way to do that and how?

 

 

 

11 REPLIES 11

Yash Agrawal1
Tera Guru

Hello SImona,

First of all, please create a workflow with set value activity, Please refer below imagefind_real_file.png

 

Please try to create below workflow on the sc_request table. first, it will set the value of state as-pending approval and approval as->rerquested. after that approval triggers.

If approved set approval field and the state filed as approved. if reject set req state as incomplete closed.

find_real_file.png

 

I created it on my persona instance , it is working as expected. Please keep posted for more help

Please Mark it helpful/correct if my answer helps in any way to resolve your query.
Reach out to me if any more help required.

Regards

Yash.K.Agrawal

 

 

Simona6
Tera Contributor

I did the same but it's not working for me.

find_real_file.pngfind_real_file.png

Simona6
Tera Contributor

I want to update the State of request not for RITM

Yash Agrawal1
Tera Guru

Hello Simona,

Don't worry I will help you.

Please share that the OOTB workflow screenshot which is running on the request table.

I will definitely help you to resolve your issue.

and one question why to want to apply workflow on the Request table and not on requested item table.

Regards

Yash Agrawal.

 

 

Requirement is as the RITM will be approved status of REQ change accordingly,it should not be in Approved state