InfoGrab DocsInfoGrab Docs

execution

execution 관련 내장 메서드와 변수 사용 예제를 설명합니다.

execution.id # 현재 워크플로 실행의 고유 ID를 포함합니다. JavaScript let executionId = $execution. id ; Python executionId = _execution. id execution.resumeUrl # 대기 중인 워크플로를 재개하기 위해 호출하는 웹훅 URL입니다. 자세한 내용은 Wait > On webhook call 문서를 참고하세요. execution.resumeUrl 은 웹훅 응답을 기다리는 노드와 함께 Wait 노드를 포함하는 워크플로에서 사용할 수 있습니다. execution.customData # 이는 Code node에서만 사용할 수 있습니다. JavaScript // Set a single piece of custom execution data $execution. customData . set ( "key" , "value" ); // Set the custom execution data object $execution. customData . setAll ({ "key1" : "value1" , "key2" : "value2" }) // Access the current state of the object during the execution var customData = $execution. customData . getAll () // Access a specific value set during this execution var customData = $execution. customData . get ( "key" ) Python # Set a single piece of custom execution data _execution.customData. set ( "key" , "value" ); # Set the custom execution data object _execution.customData.setAll({ "key1" : "value1" , "key2" : "value2" }) # Access the current state of the object during the execution customData = _execution.customData.getAll() # Access a specific value set during this execution customData = _execution.customData.get( "key" ) 자세한 내용은 Custom executions data 를 참고하세요.