Trying to invoke startProcessInstanceByKey by passing key and map object

When you copy code or logs should follow the below steps referred in this how-to-format-code-blocks, it could be clear and readable.

Also refer various markdowns to format code blocks here.