@John Smith
Extract the b attribute value before using it in Jolt transform by using EvaluateJson path processor and keep destination as flowfile-attibute.Then add your b attribute as a new property in evaluatejson path processor once we add b attribute to the flowfile then your jolt transform will apply substring function on the b attribute.
EvaluateJsonPath configs:-
![64838-evaljson.png 64838-evaljson.png](https://community.cloudera.com/t5/image/serverpage/image-id/17842iE2171A4516411B86/image-size/medium?v=v2&px=400)
Example:-
for testing i have added b attribute value as default in my jolt transform
![64836-jolt-attribute.png 64836-jolt-attribute.png](https://community.cloudera.com/t5/image/serverpage/image-id/17843i359995EC1CB50BFA/image-size/medium?v=v2&px=400)
Jolt spec testing:-
![64837-jolt-spec.png 64837-jolt-spec.png](https://community.cloudera.com/t5/image/serverpage/image-id/17844i79CB2CCA7C2B0712/image-size/medium?v=v2&px=400)
As you can see at right below corner we are having output json content with c key having e as value.
Let us know if you are having issues/questions..!!