Loading...
File
Edit
Settings
View
Help
18. Custom code
Cancel
Save
Custom code
documentation
Ana or view code examples C of problems that can be solved with code:
Weight calculation
Full screen
HubSpot Client v11
Light
Dark
Details
exports main
async (event callback) >
let num; let rand Math random() if (rand 2) { num 1;
28. Edit record
Set Weighted to outcome of 18. Custom code
else
num
10
Details
12 13 14 15 16 17
callback( { outputFields: weight: num
35. Branch
H);
Go to 809 if these criteria are met: Weighted Is equal t0 0.0
Data outputs Define the data type and name of outputs from your code. Each output name must be unique and can only be used once:
Details
80%
209
Enumeration
hs _ execution_state
Weighted is equal to 0.0
Succeeded
Failed, object remo_
Rotate record owner
45.Rotate record
owner
Failed, object conti_
Rotate contact within team:
Rotate contact within team:
Skipped, action del_