Is it possible to use a Single button where it performs both Active/DeActive actions? with label changed for each time.
for example : If we want to Activate an operator id onclick on "Active button" function should be called to activate and on success the same button label should change to "deactive" and the same button on click the decative function should be called for same item.
Is this possible in Pega action button
***Edited by Moderator: Pooja Gadige to add platform capability tag***