Shreyas arya

Generation

code to explanationTue, 24 Jan 2023

@Operation( summary = "Update a workflow execution activity.", description = """The endpoint updates both workflow execution activity and workflow execution when status is changed from RUNNING to ACTION_NEEDED or vice versa.<br /><br /> **Basic Right:** MANAGE_WORKFLOW_EXECUTION_DATA""") @PatchMapping(path = "/v1/workflow-execution-activities/{workflowExecutionActivityGuid}", produces = MediaType.APPLICATION_JSON_VALUE) @JsonView(WorkflowExecutionActivityView.Views.V2) @PreAuthorize("hasRole('MANAGE_WORKFLOW_EXECUTION_DATA')") ResponseEntity<WorkflowExecutionActivityView> updateWorkflowExecutionActivity( @PathVariable String workflowExecutionActivityGuid, @RequestBody @JsonView(UpdateWorkflowExecutionActivityView.Views.V1) UpdateWorkflowExecutionActivityView updateWorkflowExecutionActivityView) { WorkflowExecutionActivityView workflowExecutionActivity = workflowExecutionActivityMessageService.updateExecutionActivity(workflowExecutionActivityGuid, updateWorkflowExecutionActivityView) ResponseEntity.ok(workflowExecutionActivity) }

## Deployment 1. Install the prerequisites. [Node.js](https://nodejs.org/en/), [Git](https://git-scm.com/downloads) 2. Clone this repository to your local machine or server. 3. Run the following command to install dependencies.

Questions about programming?Chat with your personal AI assistant