> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# checkPatchCycle

> Checks to see if there is an online patching cycle that has not completed. This can be used to not execute a deployment. Target Properties Property Na

Checks to see if there is an online patching cycle that has not completed.  This can be used to not execute a deployment.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>EBS Source Script</td><td>`FDEBS_SOURCE_SCRIPT`</td><td>Yes</td><td>Source Script with full path. \
e.g. `/u1/apps/apps_st/appl/APPSorcl_ebs01.env`If you would like to apply changes directly to run edition for EBS R 12.2+, specify the run param after the script. By default it connects to patch edition when performing the deploy operation. All other operations are sourced from run by default.e.g. `/u1/apps/apps_st/appl/APPSorcl_ebs01.env` *run*</td></tr><tr><td>EBS Database User</td><td>`FDEBS_DB_USER`</td><td>Yes</td><td>DB User to connect with privileges. eg: Apps.\
Make sure you have permission to execute sqls with this user for all schemas.</td></tr><tr><td>EBS Database Password</td><td>`FDEBS_DB_PASSWORD`</td><td>Yes</td><td>DB Password to connect for `EBS Database User`.</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Fail if patching in progress</td><td>`FDEBS_INP_FAIL_IF_PATCH_IN_PROG`</td><td>N (defaults to Y)\
</td><td>Determine if workflow should fail if patching cycle in progress</td></tr></tbody></table>

# Outputs

<table><colgroup><col /><col /><col /></colgroup><tbody><tr><th>**Output Name**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>`FDEBS_OUT_PATCH_CYCLE`</td><td>No</td><td>Boolean showing where the patching cycle is not complete (True) or complete/failed (False)</td></tr></tbody></table>

# Artifacts

This operation will not consume or produce artifacts.

# Endpoint Selection

This operation will run randomly on any App Tier and connects to DB Tier.

# Endpoint Execution

This operation will run randomly on any App Tier resource type endpoint.

# Special Considerations

This operation recompiles invalid DB objects from all the schemas except `SYSTEM` and `SYS`.
