Describe the bug
I assign a variable with a long value, and see it's correct in debug mode, but when I want to send it in the request body of the http post request, the log shows the replaced variable seems like to be trimed.
To Reproduce
Steps to reproduce the behavior:
assign a variable with a long value in a JavaScript block.
Describe the bug I assign a variable with a long value, and see it's correct in debug mode, but when I want to send it in the request body of the http post request, the log shows the replaced variable seems like to be trimed.
To Reproduce Steps to reproduce the behavior:
payload
is correct inreferenceData
section but seems like to be trimed inreplacedValue
Expected behavior varibale
payload
in thereplacedValue
is the same asreferenceData
Desktop (please complete the following information):
In addition, I found something is probably the cause to this issue: https://github.com/AutomaApp/automa/blob/1cedeb3b418a9b653fb7f8e519b7f71fe9695dee/src/workflowEngine/templating/mustacheReplacer.js#L132
Is the direct cause why the long replacedValue is trimmed? If it's true, why Automa splice the 512 characters when replacing value?