Can not define Business key and add process variables while starting a new process from new tasklist UI

Environment (Required on creation)

CIB Seven 2.1.0

Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket)

I have a BPMN that does not have any form in it. When i start a process from Tasklist in legacy Camunda UI , I can see the option to add Business key and variables but ont in New Webapps. This has impact on many of our existing functionalities in new webapps .

Steps to reproduce (Required on creation)

I have attached a BPMN file to reproduce this issue. We use this feature to start process with Business key and and variable which we use in subsequent steps.

In legacy Webapps

Image

In New Web apps :

Image

Observed Behavior (Required on creation)

Task fails to start.

{ "type": "SystemException", "params": [ "Some unexpected technical problem occured: {\"type\":\"RestException\",\"message\":\"Cannot instantiate process definition Input_Variable:1:bda56de3-beec-11f0-8d94-0242ac120004: Unable to evaluate script while executing activity 'Use_Input_Variable_Task' in the process definition with id 'Input_Variable:1:bda56de3-beec-11f0-8d94-0242ac120004': groovy.lang.MissingPropertyException: No such property: inputVariable for class: Script81\",\"code\":0}" ] }

Expected behavior (Required on creation)

I must see a form to enter Business key and variables.

Root Cause (Required on prioritization)

Solution Ideas

Workarounds

Hints

Links

Breakdown

Pull Requests

BPMN is attached. Please change file extension to bpmn. inputVariable.bpmn.txt