how to change state based on the approval

kamleshrathore
Kilo Contributor

hi Team

i have created the record producer for change

once i am submitting the record change form going to create at that time change appoval field is requested

but state field is coming as Draft   and in the below activity state is showing in draft

find_real_file.png

find_real_file.png

And Below in the approver tab if i am going to approve then appoval field of the change form changing as a approved but state is still in draft state

find_real_file.png

find_real_file.png

please help me what should i do that if approval is requested then state should be requested

and if approval is approved then state should be apporved

i am using workflow also is there i need to do anything

please suggest me

1 ACCEPTED SOLUTION

I would assume there is a workflow connected to your change process.


Try creating a new change and go to "Workflow - Active Context" from the menu. Sort it on last updated or created and if there is a workflow connected to the change process it should show on the top. Look in the "Workflow version" column to see what workflow is associated


find_real_file.png



Open the Workflow Editor and select the workflow you found in the workflow version column. This is the workflow associated with your change and you can modify it. Use "Set Values" from the Core tab, this activity should be after your approval in the workflow.


find_real_file.png


find_real_file.png



If there isn't any workflow associated to your change request, you should use a business rule to set the correct state value instead.


find_real_file.png


find_real_file.png


View solution in original post

10 REPLIES 10

Gurpreet07
Mega Sage

Hi Kamlesh,



If its happening only for the the change created through record producer then you may need to check the existing logic of state propagation. There may be some business rule setting the state based on values in other fields and while creating a change through record producer , you may not setting values in those fields. The logic may also reside in change workflow.