034 operation already started once more

This commit is contained in:
msyu
2024-12-04 07:44:57 +03:00
parent 9b7e5bc743
commit 3d149deb43
@@ -169,7 +169,7 @@
from instance_operation io from instance_operation io
where io.instance_operation_uid=<cfqueryparam cfsqltype="cf_sql_other" value="#arguments.instanceOperationUid#" null=#!isValid('guid',arguments.instanceOperationUid)#/> where io.instance_operation_uid=<cfqueryparam cfsqltype="cf_sql_other" value="#arguments.instanceOperationUid#" null=#!isValid('guid',arguments.instanceOperationUid)#/>
</cfquery> </cfquery>
<cfif left(local.qCheck.submit_result,1) EQ "2" AND len(local.qCheck.dt_finish EQ 0)><!--- 201 etc ---> <cfif left(local.qCheck.submit_result,1) EQ "2" AND len(local.qCheck.dt_finish) EQ 0><!--- 201 etc --->
<cfreturn representationOf(this.helper.formatMessage("Operation already started", "Parameter creation disabled for started operation")).withStatus(422)/> <cfreturn representationOf(this.helper.formatMessage("Operation already started", "Parameter creation disabled for started operation")).withStatus(422)/>
</cfif> </cfif>