Ask questions about installing and configuring ProcessMaker 3
By isolice
#822100
Hi everyone,
I'm having an issue with using a variable image tag in the document output

I have the following trigger run before:
Code: Select all
$caseId = @@APPLICATION;


$query = "SELECT APP_DOC_UID FROM APP_DOCUMENT WHERE APP_UID='$caseId' AND APP_DOC_TYPE='INPUT' AND APP_DOC_STATUS='ACTIVE'";

$result = executeQuery($query);

if (is_array($result) and count($result) > 0) 
{
   @@imagePath = 'http://portal.xxx.com/sysABCD/en/neoclassic/cases/cases_ShowDocument?a=' . $result[1]['APP_DOC_UID'];
}
$img=@@imagePath;
$img1='<img src="'.$img.'" />';
@@imagePath=$img1;
Then in the output document:
Code: Select all
<tbody><!--@>Changes_FilesList-->
<tr>
<td>@@imagePath</td>
</tr>
<!--@<Changes_FilesList--></tbody>
However it's inserting \\ and \\ inbetween the img src= tag....
So I receive:
TCPDF ERROR: [Image] Unable to get image: \\"http://portal.xxx.com/sysABCD/en/neocla ... 7071700479\\"

Any ideas I'm stumped :o
Want to create your own meme coin?

In the world of cryptocurrencies, a unique and exc[…]

The market for cryptocurrencies is demonstrating a[…]

What's SAP FICO?

Embarking on a dissertation can be one of the most[…]

Hello. For rental housing, there are software solu[…]