---
title: Update Journey Timeout node
description: The Update Journey Timeout node updates the maximum duration of the journey session. You can either set a new timeout value to override the maximum duration or specify a timeout adjustment to modify the maximum duration.
component: auth-node-ref
version: latest
page_id: auth-node-ref::update-journey-timeout
canonical_url: https://docs.pingidentity.com/auth-node-ref/latest/update-journey-timeout.html
keywords: ["Nodes &amp; Trees", "Journeys", "Authentication", "Sessions"]
superseded_by: https://docs.pingidentity.com/auth-node-ref/latest/update-journey-timeout.html
section_ids:
  example: Example
  availability: Availability
  inputs: Inputs
  dependencies: Dependencies
  configuration: Configuration
  outputs: Outputs
  callbacks: Callbacks
  outcomes: Outcomes
  errors: Errors
---

# Update Journey Timeout node

The Update Journey Timeout node updates the maximum duration of the journey session. You can either set a new timeout value to override the maximum duration or specify a timeout adjustment to modify the maximum duration.

You can use multiple instances of this node in a journey if required. For example, you could increase the maximum duration to allow the end user sufficient time to fetch a document, such as their passport. You could then increase it again to allow them to fetch a second document after they complete that step. Or you could have different timeouts for separate branches within the journey to accommodate different authentication requirements.

## Example

This example uses the Update Journey Timeout node to increase the maximum journey session duration to give the end user time to fetch their passport. It then increases it further to allow them time to fetch another document after they've entered their passport details.

This example extends the default Registration journey to verify the end user's email address, collect their passport details and collect details from an additional supporting document.

![Increasing the maximum journey session duration](_images/update-journey-timeout.png)

* The [Page node](page.html) prompts for the same information as the default Registration journey.

* The [Email Suspend node](email-suspend.html) sends an email to the user to verify their email address and suspends the journey.

  The journey proceeds when the user clicks the link, confirming their email address.

* The [Create Object node](create-object.html) stores the newly registered user's profile.

* The first Update Journey Timeout node increases the maximum session duration to `10` minutes with the following settings (this assumes the default of `5` minutes is unchanged):

  * Operation: `Modify`

  * Value: `5`

* The first [Page node](page.html) containing the [Attribute Collector node](attribute-collector.html) prompts the user to input their passport details.

* The second Update Journey Timeout node increases the maximum session duration to `14` minutes with the following settings:

  * Operation: `Modify`

  * Value: `4`

* The second [Page node](page.html) containing the [Attribute Collector node](attribute-collector.html) prompts the user to input details from their supporting document.

* The [Patch Object node](patch-object.html) updates the user object with the collected details.

* The [Increment Login Count node](increment-login-count.html) updates the count on successful authentication.

## Availability

| Product                               | Available? |
| ------------------------------------- | ---------- |
| PingOne Advanced Identity Cloud       | Yes        |
| PingAM (self-managed)                 | Yes        |
| Ping Identity Platform (self-managed) | Yes        |

## Inputs

This node reads the maximum duration of the journey session from the journey or the core authentication settings. Learn more in [Maximum duration](https://docs.pingidentity.com/pingoneaic/am-authentication/suspended-auth.html#maximum-duration).

## Dependencies

This node has no dependencies.

## Configuration

| Property  | Usage                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Operation | The timeout update operation.Possible values are:- `Set`: This operation overrides the maximum duration of the journey session with the new value specified.

- `Modify`: This operation modifies the maximum duration of the journey session by adding or subtracting the value specified.

  Make sure you consider the impact of modifying the journey session duration in all possible scenarios. For example, if a journey loops back through this node multiple times, it could be possible to end up with an infinite length session. |
| Value     | Enter the required value in minutes as follows:- If you're using the `Set` operation, enter a positive integer to set the new maximum journey session duration.

- If you're using the `Modify` operation, enter a positive integer to increase the maximum journey session duration or a negative integer to decrease the maximum session duration by the specified value.Values up to `2147483647` are allowed.                                                                                                                            |

## Outputs

This node updates the maximum duration of the journey session and stores it in the shared state.

## Callbacks

This node doesn't send any callbacks.

## Outcomes

Single outcome path.

## Errors

If the node can't validate the configuration successfully, it logs `An error occurred validating the update journey timeout node configuration`.
