Expand my Community achievements bar.

SOLVED

download the pdf through REST API process design call

Avatar

Level 3

Hi Team,

I have created process design that generate the pdf. The process design has 4 services

1- SetValue(execute)

2-ApplicationUtility(readApplicationAsset)

3-FormService(renderPDFForm)

4-OutputService(transformPDF)

When I am calling REST API (ex:Amreen1_0-1736335884986.png) then the response Entity returning the url location where the pdf get stored temporarily not the actual pdf output. When I need the output pdf i need to call again the response entiry document url to get the pdf.

So, my question why we need to call 2 times to get the pdf. can we not download and save the pdf in one call

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Have you set the generated pdf as output variable?

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

Have you set the generated pdf as output variable?

Avatar

Moderator

@Amreen1 , Can you reply to @Vijay_Katoch's query? It would enable us to help you.

 

Let us know if you have already resolved the issue. Thanks!   

Avatar

Level 3

I have setup the output variable.
Yes, we resolved it. We have added new step that giving the base64 string as pdf we haven't get