true when the retry criterion is satisfied, false otherwise.
Examples
# Use default predicate for non-idempotent steps# and define custom configuration values-step_name:try:steps:-send_message:call:http.postargs:url:https://www.example.com/endpointbody:some_val:"HelloWorld"another_val:123result:the_message-return_value:return:${the_message.body}retry:predicate:${http.default_retry_predicate_non_idempotent}max_retries:10backoff:initial_delay:1max_delay:90multiplier:3
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Function: http.default_retry_predicate_non_idempotent\n\nSimple default retry predicate for non-idempotent targets.\n\nIf your target is idempotent, use\n[default_retry_predicate](https://cloud.google.com/workflows/docs/reference/stdlib/http/default_retry_predicate)\ninstead.\n\nRetries on `429` (Too Many Requests) and `503` (Service Unavailable), as well\nas on `ConnectionFailedError`.\n\nFor more information, see\n[Retry steps](https://cloud.google.com/workflows/docs/reference/syntax/retrying).\n\nArguments\n---------\n\nReturns\n-------\n\n`true` when the retry criterion is satisfied, `false` otherwise.\n\nExamples\n--------\n\n```yaml\n# Use default predicate for non-idempotent steps\n# and define custom configuration values\n- step_name:\n try:\n steps:\n - send_message:\n call: http.post\n args:\n url: https://www.example.com/endpoint\n body:\n some_val: \"Hello World\"\n another_val: 123\n result: the_message\n - return_value:\n return: ${the_message.body}\n retry:\n predicate: ${http.default_retry_predicate_non_idempotent}\n max_retries: 10\n backoff:\n initial_delay: 1\n max_delay: 90\n multiplier: 3\n```"]]