Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How to call a "Client Action" from a "Client Script" (sys_declarative_action_assignment)?

Daniel_san
Tera Guru

Hi everyone,

Is there a recommended way to call/trigger a sys_declarative_action_assignment of type Client Action from a sys_declarative_action_assignment of type Client Script?

Context:
I created a Client Script that is mapped to a button in a Playbook activity of type Record form.
When I click the button, the script performs several checks on form fields and works perfectly.
However, at the end of the script, I need to call the Client Action save_and_complete_activity to complete the Playbook activity.

 

Thanks in advance!

1 REPLY 1

Daniel_san
Tera Guru

I’ve tried it upside down, inside out, front and back… but nothing, I just can’t get it to work 😞

And I can’t manage to call a sys_declarative_action_assignment server script from the sys_declarative_action_assignment client script either.


I’m going to slit my wrists with a lettuce leaf lol 😅