[ExternalTask] Json Variable empty after Fetch

Hello,

using Camunda 7.14

I have a Json variable in a process:

But when I fetch the process, the variable does not contain the value:

 'variables': {'variables1': {'type': 'Json',
                              'value': {'array': False,
                                        'boolean': False,
                                        'dataFormatName': 'application/json',
                                        'nodeType': 'OBJECT',
                                        'null': False,
                                        'number': False,
                                        'object': True,
                                        'string': False,
                                        'value': False},
                              'value_info': {}}},

I would expect somewhere "my_value" : "test1". How do i get the actual variable?

Regards,
Markus

Complete response from fetch endpoint:

	[{'activity_id': 'Activity_16clc17',
 'activity_instance_id': 'Activity_16clc17:7031c812-565d-11eb-beab-0242ac120002',
 'business_key': None,
 'error_details': None,
 'error_message': None,
 'execution_id': '7031c811-565d-11eb-beab-0242ac120002',
 'id': '7031c813-565d-11eb-beab-0242ac120002',
 'lock_expiration_time': datetime.datetime(2021, 1, 14, 11, 42, 27, 992000, tzinfo=tzutc()),
 'priority': 0,
 'process_definition_id': 'demo_for_robot:1:a64d6533-5659-11eb-beab-0242ac120002',
 'process_definition_key': 'demo_for_robot',
 'process_definition_version_tag': '0.1',
 'process_instance_id': '7031a0fa-565d-11eb-beab-0242ac120002',
 'retries': None,
 'suspended': False,
 'tenant_id': None,
 'topic_name': 'process_demo_element',
 'variables': {'variables1': {'type': 'Json',
                              'value': {'array': False,
                                        'boolean': False,
                                        'dataFormatName': 'application/json',
                                        'nodeType': 'OBJECT',
                                        'null': False,
                                        'number': False,
                                        'object': True,
                                        'string': False,
                                        'value': False},
                              'value_info': {}}},
 'worker_id': 'robotframework-camundalibrary-1610624325.0344226'}]

Hello @Noordsestern,
I am having the same issue.
Have you been able to find a solution?

Edit: found it :slight_smile:

1 Like