Home > Forum > Rules, JS, SQL > Content as BASE64

Content as BASE64
0

Hi,

I'm having trouble converting the contents of an attachment to BASE64. On the system step I have a TimeOut that calls the transition path after a minute. In the traversal path, I have an action that calls a web service. The frame uses a business rule to convert the content of the attachment to Base64 (the business rule returns the text value of the last attachment). When the whole thing is handled by TimeOut, I get the error:

Message=Error executing SQL rule Create Attachment Base64 (Id: 3008)
Source=WebCon.WorkFlow.Base
StackTrace=
at: Evaluation requested
at: Evaluation node: AttachmentContentAsBase64
at: Evaluation node: GetAttachments
[...]

An error occurred while attempting to replace a variable.

When selecting the transition path manually, the problem does not occur.

What is the problem? My BPS version: 2022.1.4.155