Hoppa till huvudinnehållet

Attach pdf generated from report activity to email

Kommentarer

3 kommentarer

  • Berend Veldkamp

    Could you please update your question and add the actual error? That will help us finding out what's going wrong.If possible, attach a minimal workflow that reproduces the problem.

    Also, the activity name Read File Bytes seems to suggest this is about Workflow 4.x, not 5.x. Is that correct?

    1
  • Patrick Fingler

    Nabaz Gharib Mohammed - I've included a few screenshots below of a server-side workflow that should be able to help you out. 

    Basically you need to make sure that you use the "Run Workflow" activity in your client-side workflow to call the server-side workflow and include a parameter called "report" that includes the $runReport.href.  Then in your server side workflow use the "Get Workflow Inputs" activity and supply the report href as an input to the Send Web Request activity (expecting a blob).  Something like:  =$getWorkflowInputs.inputs["report"]


    Then use the Create Email Attachment and supply the blob from the web request as input.

    Then send the email with the attachment:

    Cheers,

    -- Patrick

    2
  • Nabaz Gharib Mohammed

    @...,

    Thank you very much. that is crystal clear, worked without any issue.

    0

Du måste logga in om du vill lämna en kommentar.