Workflow send crystal report pdf with different parameters

Good day,

I'm trying to use workflow standard rules to send a pdf (report created in crystal) to some users.

Standard usege works fine for me, but I need to send, in my case, an sell order printed with different setup (for example outside with prices and inside without). The print mask already has the flag prices yes/no, but normal workflow send the print with the starting setup.

Other need is. I want to run the workflow only if one specific print destination is setted before start printing... any variable or condition suggested form me? I tried severals but no one has the destination stored to use as a comparison condition.

I want to use standard features and no code.... 

Thanks

Igor

  • 0

    Good day,

    The only way you can achieve this without code is by making use of two different crystal reports, one for external and another for internal. Then you would also need to add parameters on your workflow (see the standard Workflow rule "APRINT" as example) to determine if the workflow should be triggered or not. 

  • 0 in reply to Regard Hulsbos

    Thanks for answer.

    I understand. Is there a way to bypass print setup and force it by using some default workflow action? Do you know how to read a default variable that contains print destination? If so, I can setup my workflow to print in one way or another depending which destination is slected at the beginning of printing process... I tried to use RPTDES or similar but they come to my workflow empty, so I can't (or don't know how to do) use that.

    thanks for any help

  • Hello,

    The workflow to send the email is after the report is printed, so it will send whatever was sent to the print engine.  If you need a report to use different parameters based on a value in the current record, you can adjust the parameter formula in Default values (GESARV).