diff --git a/workspaces/liferay-jethr0-workspace/client-extensions/liferay-jethr0-batch/batch/01-object-definition.batch-engine-data.json b/workspaces/liferay-jethr0-workspace/client-extensions/liferay-jethr0-batch/batch/01-object-definition.batch-engine-data.json index 474ab6e0eea53e..b01378eb0665dd 100644 --- a/workspaces/liferay-jethr0-workspace/client-extensions/liferay-jethr0-batch/batch/01-object-definition.batch-engine-data.json +++ b/workspaces/liferay-jethr0-workspace/client-extensions/liferay-jethr0-batch/batch/01-object-definition.batch-engine-data.json @@ -904,7 +904,7 @@ }, "name": "Jethr0EtcSpringBootAddJob", "objectActionExecutorKey": "function#liferay-jethr0-etc-spring-boot-object-actions", - "objectActionTriggerKey": "standalone", + "objectActionTriggerKey": "onAfterAdd", "parameters": { } }, @@ -1075,7 +1075,7 @@ }, "name": "Jethr0EtcSpringBootAddRoutine", "objectActionExecutorKey": "function#liferay-jethr0-etc-spring-boot-object-actions", - "objectActionTriggerKey": "standalone", + "objectActionTriggerKey": "onAfterAdd", "parameters": { } }, diff --git a/workspaces/liferay-jethr0-workspace/client-extensions/liferay-jethr0-custom-element/src/objects/jobs/JobUtil.js b/workspaces/liferay-jethr0-workspace/client-extensions/liferay-jethr0-custom-element/src/objects/jobs/JobUtil.js index f026aba68dcfac..19ba9396353448 100644 --- a/workspaces/liferay-jethr0-workspace/client-extensions/liferay-jethr0-custom-element/src/objects/jobs/JobUtil.js +++ b/workspaces/liferay-jethr0-workspace/client-extensions/liferay-jethr0-custom-element/src/objects/jobs/JobUtil.js @@ -23,12 +23,6 @@ export async function createJob({data, redirect}) { const jobsResult = JSON.parse(await jobsResponse.text()); - await liferayRequest({ - headers, - method: 'PUT', - urlPath: `/o/c/jobs/${jobsResult.id}/object-actions/Jethr0EtcSpringBootAddJob`, - }); - if (jobsResult && redirect) { redirect(jobsResult); } diff --git a/workspaces/liferay-jethr0-workspace/client-extensions/liferay-jethr0-custom-element/src/objects/routines/RoutineUtil.js b/workspaces/liferay-jethr0-workspace/client-extensions/liferay-jethr0-custom-element/src/objects/routines/RoutineUtil.js index 80b6f90d416cdd..18168fda125389 100644 --- a/workspaces/liferay-jethr0-workspace/client-extensions/liferay-jethr0-custom-element/src/objects/routines/RoutineUtil.js +++ b/workspaces/liferay-jethr0-workspace/client-extensions/liferay-jethr0-custom-element/src/objects/routines/RoutineUtil.js @@ -23,12 +23,6 @@ export async function createRoutine({data, redirect}) { const routinesResult = JSON.parse(await routinesResponse.text()); - await liferayRequest({ - headers, - method: 'PUT', - urlPath: `/o/c/routines/${routinesResult.id}/object-actions/Jethr0EtcSpringBootAddRoutine`, - }); - if (routinesResult && redirect) { redirect(routinesResult); } diff --git a/workspaces/liferay-jethr0-workspace/gradle.properties b/workspaces/liferay-jethr0-workspace/gradle.properties index 4c54ab8bd65be3..0df907723a6086 100644 --- a/workspaces/liferay-jethr0-workspace/gradle.properties +++ b/workspaces/liferay-jethr0-workspace/gradle.properties @@ -6,7 +6,7 @@ liferay.workspace.bundle.dist.include.metadata=true liferay.workspace.modules.dir=modules liferay.workspace.node.package.manager=yarn -liferay.workspace.product=dxp-2023.q4.5 +liferay.workspace.product=dxp-2024.q1.8 liferay.workspace.themes.dir=themes liferay.workspace.wars.dir=modules microsoft.translator.subscription.key= \ No newline at end of file