# Workflow standard library

Workflow standard library provide built-in functions for workflow-as-code. They are usable directly in Workflow objects.

# HTTP Control Length

This function makes length checks for URL query and body and will generate a 403 error response page if one of the specified limits is reached.

# Example of call in a workflow

SWFHTTPControlLengthControl(Args{
  "max_url_len_enabled": true, "max_url_len": "100",
  "max_query_len_enabled": true, "max_query_len": "100",
  "max_body_len_enabled": true, "max_body_len": "1024",
})
1
2
3
4
5

# Parameters

  • max_url_len_enabled: Enable URL length checks (bool)
  • max_url_len: URL max length
  • max_query_len_enabled: Enable query length checks (bool)
  • max_query_len: query max length
  • max_body_len_enabled: Enable body length checks (bool)
  • max_body_len: body max length
Last Updated: 4/20/2022, 1:09:49 PM