Skip to content

Create helper methods to create groovy SPIN JSON variables and Java Maps that can be inserted into Process Starts and other areas #9

@StephenOTT

Description

@StephenOTT
import static org.camunda.spin.Spin.*;

....

      def json = JSON("{\"customer\": \"Kermit\"}")
      def variableMap = ['myJSON':json]

      def processInstance = runtimeService().startProcessInstanceByKey("myProcess", variableMap)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions