diff --git a/src/components/SaveThresholdModal.vue b/src/components/SaveThresholdModal.vue index b3713bc3..06e66940 100644 --- a/src/components/SaveThresholdModal.vue +++ b/src/components/SaveThresholdModal.vue @@ -181,10 +181,11 @@ export default defineComponent({ 'JOB_NAME': this.jobName ? this.jobName : this.userProfile.partyName, 'SERVICE_NAME': job.serviceName, 'SERVICE_COUNT': '0', + 'SERVICE_TEMP_EXPR': 'EVERYDAY', 'jobFields': { 'productStoreId': productStoreId, 'systemJobEnumId': job.systemJobEnumId, - 'tempExprId': 'EVERYDAY', + 'tempExprId': 'EVERYDAY', // Need to remove this as we are passing frequency in SERVICE_TEMP_EXPR, currently kept it for backward compatibility 'maxRecurrenceCount': '-1', 'parentJobId': job.parentJobId, 'runAsUser': 'system', // default system, but empty in run now diff --git a/src/store/modules/job/actions.ts b/src/store/modules/job/actions.ts index dea5fe0a..e3d8a719 100644 --- a/src/store/modules/job/actions.ts +++ b/src/store/modules/job/actions.ts @@ -308,10 +308,11 @@ const actions: ActionTree = { 'JOB_NAME': job.jobName, 'SERVICE_NAME': job.serviceName, 'SERVICE_COUNT': '0', + 'SERVICE_TEMP_EXPR': job.jobStatus, 'jobFields': { 'productStoreId': this.state.user.currentEComStore.productStoreId, 'systemJobEnumId': job.systemJobEnumId, - 'tempExprId': job.jobStatus, + 'tempExprId': job.jobStatus, // Need to remove this as we are passing frequency in SERVICE_TEMP_EXPR, currently kept it for backward compatibility 'maxRecurrenceCount': '-1', 'parentJobId': job.parentJobId, 'runAsUser': 'system', // default system, but empty in run now