{"size": 599, "ext": "js", "max_stars_repo_path": "exercises/Exercise3/Helper/ProcessWorkflowContext.js", "max_stars_repo_name": "SAP-samples/teched2020-DEV264", "max_stars_repo_stars_event_min_datetime": "2020-12-08T13:24:00.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-01T17:00:59.000Z", "max_issues_repo_path": "exercises/Exercise3/Helper/ProcessWorkflowContext.js", "max_issues_repo_name": "SAP-samples/teched2020-DEV264", "max_issues_repo_issues_event_min_datetime": "2020-12-10T22:20:54.000Z", "max_issues_repo_issues_event_max_datetime": "2021-06-04T02:55:10.000Z", "max_forks_repo_path": "exercises/Exercise3/Helper/ProcessWorkflowContext.js", "max_forks_repo_name": "SAP-samples/teched2020-DEV264", "max_forks_repo_forks_event_min_datetime": "2020-12-10T15:16:50.000Z", "max_forks_repo_forks_event_max_datetime": "2020-12-14T13:50:32.000Z"}
{"max_stars_count": 20, "max_issues_count": 4, "max_forks_count": 3, "avg_line_length": 54.4545454545, "max_line_length": 94, "alphanum_fraction": 0.8313856427}
var WorkflowStartPayload ={};
WorkflowStartPayload.definitionId = $.context.WorkflowInstanceDetail.definitionId;
WorkflowStartPayload.context={};
WorkflowStartPayload.context.Request= $.context.WorkflowInstanceDetail.Context.Request;
WorkflowStartPayload.context.Investment= $.context.WorkflowInstanceDetail.Context.Investment;
WorkflowStartPayload.context.Approver= $.context.WorkflowInstanceDetail.Context.Approver;
WorkflowStartPayload.context.Comments= [];

$.context.WorkflowStartRequest = WorkflowStartPayload;
$.context.WorkflowPatch={};
$.context.WorkflowPatch.status = "CANCELED";