My approver list is not updating automatically

Ansuman
Tera Contributor

When a in change request form request approval button is clicked the approver list is not updating automatically

Ansuman_0-1668671419467.png

but when the refresh list is done 

Ansuman_1-1668671464770.png

then the approver list shows the people 

Ansuman_2-1668671584954.png

how to refresh it automatically or what should i change to avoid this issue

11 REPLIES 11

Community Alums
Not applicable

Hi @Ansuman 

 

What is the code written in the request approval button? Are you updating / refreshing the current form?

just updating the form to assess state

 

 

action.setRedirectURL(current);
current.state = '-4';
current.update();

Community Alums
Not applicable

@Ansuman 

 

Can you try like this:

 

current.state = -4;

current.update();
action.setRedirectURL(current);

Sorry but it didn't work