FlowScriptAPI - Scoped

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 1분
  • The FlowScriptAPI API provides a method to return the context ID of the running flow.

    You cannot instantiate objects of this type. Objects of this type are created automatically and are accessible only in script steps and inline scripts.

    FlowScriptAPI - getContextID()

    Returns the context ID of the running flow.

    표 1. Parameters
    Name Type Description
    None
    표 2. Returns
    Type Description
    String The sys_id of the running flow.

    This example assumes you have created a flow containing a Log action. This inline script generates the content of the Log message.

    var contextId = FlowScriptAPI.getContextID();
    return contextId;
    Output:
    4ecead85c4da0010598d0c7c6bf73554