- 
    
Bug
 - 
    Resolution: Done
 - 
    
Critical
 - 
    None
 - 
    Kogito Tooling 0.20.0
 
- 
        False
 - 
        
 - 
        False
 - 
        
 - 
        ---
 - 
        ---
 
- 
        2022 Week 23-25 (from Jun 6), 2022 Week 26-28 (from Jun 27)
 
Summary
When you view a serverless workflow definition that contains non-required properties in our editor, some data is removed when the file is downloaded.
For example:
END
{
   "name": "Next State",
   "type": "inject",
   "end": {
    "terminate": true,
    "continueAs": {},
    "compensate": false,
    "produceEvents": []
   }
TRANSITION
"transition": { "nextState": "Next State", "produceEvents": [] }
is changed to:
END
{
      "name": "Next State",
      "type": "inject",
      "usedForCompensation": false,
      "end": true
    }
TRANSITION
"transition": "Next State",
but the expected outcome is:
END
{
   "name": "Next State",
   "type": "inject",
   "end": {
    "terminate": true,
    "continueAs": {},
    "compensate": false,
    "produceEvents": []
   }
TRANSITION
"transition": { "nextState": "Next State", "produceEvents": [] }
To see the issue inspect the before and after files.
AC
The marshalling/unmarshalling does not remove any data from users serverless workflow definition.
- is triggered by
 - 
                    
KOGITO-7117 QE serverless logic infrastructure for first iteration of the tooling
-         
 - Resolved
 
 -