Skip to content

Commit

Permalink
Merge branch 'master' into feat/expressions-python-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
Snarr authored Nov 28, 2024
2 parents 301e4be + 1183aec commit 5313a55
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const ExecuteWorkflowRun: FC<Modal> = ({ data }) => {
if (!wfRun.id) return
toast.success('Workflow has been executed')
setShowModal(false)
router.push(`/wfRun/${wfRun.id.id}`)
router.push(`/${tenantId}/wfRun/${wfRun.id.id}`)
} catch (error: any) {
toast.error(error.message?.split(':')?.[1])
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,6 @@ public void wf(WorkflowThread wf) {
VariableType.BOOL
);

WfRunVariable temperature = wf.addVariable("temperature", VariableType.INT);
WfRunVariable isActive = wf.addVariable("is_active", VariableType.BOOL);
WfRunVariable price = wf.addVariable("price", VariableType.DOUBLE);
WfRunVariable metadata = wf.addVariable("metadata", VariableType.JSON_OBJ);
WfRunVariable tags = wf.addVariable("tags", VariableType.JSON_ARR);
WfRunVariable timestamp = wf.addVariable("timestamp", VariableType.INT);
WfRunVariable description = wf.addVariable("description", VariableType.STR);
WfRunVariable bytes = wf.addVariable("bytes", VariableType.BYTES);
WfRunVariable count = wf.addVariable("count", VariableType.INT);
WfRunVariable enabled = wf.addVariable("enabled", VariableType.BOOL);

// Get the IT Request
UserTaskOutput formOutput = wf.assignUserTask(
IT_REQUEST_FORM,
Expand Down

0 comments on commit 5313a55

Please sign in to comment.