Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

custom object on AWF button

Ajeet
Contributor III

I have a custom object which run on a hyper link and now the requirement is to run that custom object button on advance workflow button which we can not modify. is there a way to run the custom object on click of pre-built AWF button. it would be better if you share any example which i can modify for my requirement.

@DavidPetty @Anonymous @Ilya.Khen @Ilya.Khen 

5 REPLIES 5

Anonymous
Not applicable

@Ajeet,

What do u mean u cannot modify AWF button? AWF button it is the same button as like Save or Save and Close. Once u find proper ID of a button via Inspect functionality, u can change behaviour.

I also believe, u can find in this forum some examples of modifying AWF buttons:

https://www.archerirm.community/t5/archer-custom-objects-forum/unbind-awf-buttons/m-p/490260#M1177

https://www.archerirm.community/t5/archer-custom-objects-forum/custom-pop-up-message-with-awf-button/m-p/676679#M1954

https://www.archerirm.community/t5/archer-api-users/updating-automated-workflow-records-via-api/m-p/465363#M476

Oh I meant to say that we just have to call the awf button's method.  actually issue is all the buttons are under dropdown and the id and class are very similar. for testing purpose I tried to run it on save button however the save button's id is different so it runs on save button but not completely. the values are not being pulled out. so i have below two queries

1. how we can call the particular button under the dropdown list which has same id and class?

2. when we call custom object with save or AWF button. is there any specific things which we need to take care because the same code is working absolutely fine if I run the code on my custom button (own created button) inside the record? 

Anonymous
Not applicable

Each button under drop down still have own ID as far as I remember. And even if not, they should have something to differ for sure, at least label.

the issue is when i am using the id the method is being called on every click event

Anonymous
Not applicable

So ID is different as I see it: 2041, 2043, 2051. You should be able to initiate a click on it via ID and click event with JQuery.