website logo
πŸ”­Overview
πŸ’ΌPlatform Actions
πŸ’œIntegrations
🧰Custom Actions
πŸ› οΈDeveloper's Guide
Navigate through spaces
⌘K
πŸ“•Call API
πŸ“•Generate Document
πŸ“•Call Subprocess
πŸ“•Decisional
βš“Decisional Further Reading
πŸ“•Join
πŸ“•Delay
πŸ“•For Each
πŸ“•Get File Data
πŸ“•Map Process Data
βœ‰οΈSend Email
πŸ“¬Inbound email
πŸ“Database
πŸ“Documents
πŸ“DateTime
πŸ“FTP/sFTP
πŸ“Json
πŸ“XPath
πŸ“Lists
πŸ“Numerical
πŸ“Strings
πŸ“Converters
πŸ“Excel
πŸ“Scripting
πŸ“Utilitary
πŸ“Pdf
πŸ“Beta
Docs powered byΒ archbeeΒ 

Javascript

2min

The Javascript action is one of the actions at your disposal to work with Javascript language.

Javascript action enables you to execute code; the code can be of anytype ES5,ES6, etc. There is no access to specific libraries, however, from a code and algorithms perspective, you can execute almost everything.

Use setOutput() method to make sure output will be generated to be stored in a process variable which can be further used in the configuration of other actions in the process.

How to configure the Javascript action?ο»Ώο»Ώ

1. Create a process and give it a name.

2. Drag the Javascript action to the canvas and link it to the other actions.

Document image
ο»Ώ

3. Create the variables needed for the configuration of the action, and then add them to the configuration panel:

Document image
ο»Ώ

4. Add your code to the editor.

5. Add the output variable that will store the interpreted code.

6. Save, Validate, Run.

7. Click Check Instance to view the results. You will see that the outcome of the interpreted codes is saved in the result variable.

Document image
ο»Ώ

ο»Ώ

ο»Ώ

Updated 31 Mar 2023
Did this page help you?
Yes
No
PREVIOUS
OLE Date To DateTime
NEXT
Python
Docs powered byΒ archbeeΒ 
TABLE OF CONTENTS
How to configure the Javascript action?ο»Ώο»Ώ