TRANXACT.AI ಸಹಾಯ
ವೇದಿಕೆ › Extension Hooks

Extension Hooks

Rules attached to named points in a record's life: before or after it is saved, posted or approved, and when its status changes. A hook is a condition (the same expression language as custom rules) and one action: refuse with a message, warn, send on one of this company's webhooks, or write a log line. A hook cannot change a record or run code. New hooks start in dry run: evaluated and logged, never acting, until you switch them live. To fill in, work out, check, show or lock a field, use Custom Logic instead.

ಅದನ್ನು ಎಲ್ಲಿ ಕಂಡುಹಿಡಿಯಬೇಕು

  1. ಮಾಡ್ಯೂಲ್: ವೇದಿಕೆ
  2. ಗುಂಪು: ಸ್ವಯಂಚಾಲನೆ
  3. ವಿಭಾಗ: Extension Hooks
  4. ಪರದೆಯ: Extension Hooks

ಕನ್ಸೋಲ್‌ನಲ್ಲಿ ವಿಳಾಸ: /platform/extension-hooks

ಪಟ್ಟಿ · 11 ಕಾಲಮ್‌ಗಳು · 15 ಅದರ ರೂಪದಲ್ಲಿ ಕ್ಷೇತ್ರಗಳು · 4 ಅವುಗಳಲ್ಲಿ ಅಗತ್ಯವಿದೆ · 4 ಕ್ರಿಯೆಗಳು

ಪಟ್ಟಿಯು ಏನು ತೋರಿಸುತ್ತದೆ

ಇವು ಪಟ್ಟಿಯ ಕಾಲಮ್‌ಗಳನ್ನು ಎಳೆಯುವ ಕ್ರಮದಲ್ಲಿವೆ. ಅವುಗಳಲ್ಲಿ ಯಾವುದನ್ನಾದರೂ ವಿಂಗಡಿಸಬಹುದು, ಫಿಲ್ಟರ್ ಮಾಡಬಹುದು, ಮರೆಮಾಡಬಹುದು ಅಥವಾ ರಫ್ತು ಮಾಡಬಹುದು.

ಕಾಲಮ್ಬಗೆಕ್ಷೇತ್ರದ ಹೆಸರು
Hookಪಠ್ಯname
Pointಸ್ಥಿತಿpoint
ಮಾಡ್ಯೂಲ್ಸಂಕೇತmodule_key
ಪರದೆಯಸಂಕೇತresource_key
ಮಾಡುತ್ತದೆಸ್ಥಿತಿaction_kind
ವಿಧಾನ ಬಗೆಸ್ಥಿತಿmode
ಓಡುತ್ತದೆಸಂಖ್ಯೆrun_count
ನಿರಾಕರಿಸಲಾಗಿದೆಸಂಖ್ಯೆveto_count
ದೋಷಗಳುಸಂಖ್ಯೆerror_count
ಆನ್ಹೌದು ಅಥವಾ ಇಲ್ಲis_active
Last problemಪಠ್ಯlast_error

ರೂಪ

ದಾಖಲೆಯನ್ನು ರಚಿಸಿದಾಗ ಇಲ್ಲಿ ಏನು ಕೇಳಲಾಗುತ್ತದೆ. ಅಗತ್ಯವಿರುವ ಕ್ಷೇತ್ರಗಳನ್ನು ಗುರುತಿಸಲಾಗಿದೆ; ಸಂರಚನಾ ಪಟ್ಟಿಯಿಂದ ಪಡೆದ ಆಯ್ಕೆಯು ನಿರ್ವಾಹಕರು ಬಿಡುಗಡೆಯಿಲ್ಲದೆ ವಿಸ್ತರಿಸಬಹುದಾದ ಆಯ್ಕೆಯಾಗಿದೆ.

ಕ್ಷೇತ್ರಪ್ರಕಾರಆಯ್ಕೆಗಳುಟಿಪ್ಪಣಿಗಳು
ಹೆಸರು ಅಗತ್ಯವಿದೆ ಪಠ್ಯ A name people will recognise in the run log.
ಯಾವುದಕ್ಕಾಗಿ ದೀರ್ಘ ಪಠ್ಯ Why this rule exists.
Point ಅಗತ್ಯವಿದೆ ಆಯ್ಕೆ Before a record is saved, After a record is saved, Before a document is posted, After a document is posted, Before an approval is given, After an approval is given, Before the status changes, After the status changed When in the record's life the hook runs.
ಪರದೆಯ ಅಗತ್ಯವಿದೆ ಆಯ್ಕೆ ಅಸ್ತಿತ್ವದಲ್ಲಿರುವ ದಾಖಲೆಗಳಿಂದ ಹುಡುಕಲಾಗಿದೆ The screen whose records the hook watches, e.g. CRM › Accounts, or a custom object. "Every screen" covers the whole module (not for a hook that refuses).
ಮಾಡುತ್ತದೆ ಅಗತ್ಯವಿದೆ ಆಯ್ಕೆ Refuse with a message (before points only), Warn but allow (before points only), Send on a webhook (after points only), Only write it in the run log Only a before hook can refuse or warn; only an after hook can send.
ಷರತ್ತು ದೀರ್ಘ ಪಠ್ಯ When the hook acts, e.g. total > 10000 and is_empty(project_code). Empty means always. You may use record fields, previous, changed, status, to_status, user and today.
ಸಂದೇಶ ಪಠ್ಯ What a person is told. {field} is replaced by the record's value.
Message (as an expression) ಪಠ್ಯ Optional: work the message out, e.g. concat("Over budget by ", total - 10000).
Only when moving to ಪಠ್ಯ For the status points: comma-separated statuses; empty means any move.
ವೆಬ್‌ಹುಕ್ ಆಯ್ಕೆ ಅಸ್ತಿತ್ವದಲ್ಲಿರುವ ದಾಖಲೆಗಳಿಂದ ಹುಡುಕಲಾಗಿದೆ One of this company's outbound webhooks. It signs and screens the target like every delivery.
What is sent ಪಠ್ಯ A set of named expressions, e.g. {"number": "record_no", "total": "total"}. Empty sends the record without personal or secret fields.
ಆದೇಶ ಸಂಖ್ಯೆ Hooks at the same point run in this order.
Time budget (ms) ಸಂಖ್ಯೆ 10 to 500. A run over it is skipped and counted as an error.
Runs per minute ಸಂಖ್ಯೆ A ceiling for warnings, sends and log lines (a refusal is never throttled).
ಆನ್ ಹೌದು ಅಥವಾ ಇಲ್ಲ A hook that fails ten runs in a row is switched off with the reason; switch it on again after fixing it.

ನೀವು ಇಲ್ಲಿ ಏನು ಮಾಡಬಹುದು

ಪರೀಕ್ಷೆ ಪ್ರಾಥಮಿಕ

ಪಟ್ಟಿಯ ಪ್ರತಿಯೊಂದು ಸಾಲಿನಲ್ಲಿ.

Try this hook without running it

ಕೇಳುತ್ತದೆ: Sample record (JSON) Or a real record id

Switch live

ಪಟ್ಟಿಯ ಪ್ರತಿಯೊಂದು ಸಾಲಿನಲ್ಲಿ. ಅನ್ವಯವಾಗುವ ದಾಖಲೆಗಳಲ್ಲಿ ಮಾತ್ರ ನೀಡಲಾಗುತ್ತದೆ.

ದೃಢೀಕರಣ ಕೇಳುತ್ತದೆ: Switch this hook live? It will refuse, warn or send on real saves from now on.

Back to dry run

ಪಟ್ಟಿಯ ಪ್ರತಿಯೊಂದು ಸಾಲಿನಲ್ಲಿ. ಅನ್ವಯವಾಗುವ ದಾಖಲೆಗಳಲ್ಲಿ ಮಾತ್ರ ನೀಡಲಾಗುತ್ತದೆ.

ದೃಢೀಕರಣ ಕೇಳುತ್ತದೆ: Put this hook back in dry run? It stops acting at once and is only evaluated and logged.

Run log

ಪಟ್ಟಿಯ ಪ್ರತಿಯೊಂದು ಸಾಲಿನಲ್ಲಿ.

ಇಲ್ಲಿ ಅನ್ವಯವಾಗುವ ನಿಯಮಗಳು

ಈ ಪರದೆಯಲ್ಲಿರುವ ಎಲ್ಲವೂ ತನ್ನದೇ ಆದ ನಿಯಮಗಳಿಗಿಂತ ಪ್ಲಾಟ್‌ಫಾರ್ಮ್ ನಿಯಮಗಳನ್ನು ಪಾಲಿಸುತ್ತವೆ. ನೀವು ಅದನ್ನು ಬಳಸುವ ಮೊದಲು ತಿಳಿದುಕೊಳ್ಳಬೇಕಾದವುಗಳು:

ಅದರ ಪಕ್ಕದಲ್ಲಿ Extension Hooks