Custom scripting actions: Difference between revisions

From Planfix
Jump to: navigation, search
No edit summary
No edit summary
 
Line 14: Line 14:
*You can select a custom action from the list of actions of another script:
*You can select a custom action from the list of actions of another script:


https://s.pfx.so/pf/0K/xc41U1.png
https://s.pfx.so/pf/9G/1WcCVu.png


   
   

Latest revision as of 14:13, 22 December 2023

Custom scripting actions is a Planfix entity that allows you to separate recurring actions from scripts into a separate action and reuse them in another script.

  • Go to Account Management - System Directories - Custom scripting actions and set up the action:

LOvMy2.png


  • You can select a custom action from the list of actions of another script:

1WcCVu.png


  • Select the custom action and specify the values for the infoblocks:

waKgPg.png

Important

  • Custom script actions do not depend on objects and composition of custom fields in them. They are an independent entity.
  • You can put a script action in a ready-made solution and install it in other accounts. For example, you can put actions for sending or parsing HTTP requests into a ready-made solution:
    • send a message to a Telegram chat/channel,
    • parcel tracking,
    • get current exchange rates,
    • and more.


Go To