PDFtoServiceCatalog: Difference between revisions
Created page with "So, you made a PDF in the process, but now it needs to go to the ServiceCatalog. JJust using the created link will not get it over there :( what you need to do : 1. Create folder on the server : “D:\Temp” 2. Added variable that stores the location of the file 3. added a step of the type 'save file', before the step where you add the document to the SC 4. in the step 'add report to SC', use the variable from step 2 as documentpath 5. Finally, a step to remove the l..." |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
So, you made a PDF in the process, but now it needs to go to the ServiceCatalog. | So, you made a PDF in the process, but now it needs to go to the ServiceCatalog. | ||
Just using the created link will not get it over there :( | |||
what you need to do : | what you need to do : | ||
1. Create folder on the server : “D:\Temp” | 1. Create folder on the server : “D:\Temp” | ||
<br> | |||
2. Added variable that stores the location of the file | 2. Added variable that stores the location of the file | ||
<br> | |||
- name: Report local filename | |||
<br> | |||
- value: D:\Temp\Maturity Review-#REPLACE-STEP-PROCESS-DateStarted-yyyyMMdd#-#REPLACE-FORMFIELD-serviceguid#.pdf | |||
<br> | |||
<br> | |||
3. added a step of the type 'save file', before the step where you add the document to the SC | 3. added a step of the type 'save file', before the step where you add the document to the SC | ||
<br> | |||
- content: #REPLACE-PDFREPORTCONTENT-61# <br> | |||
- Location : use the variable from step 2 | |||
<br> | |||
4. in the step 'add report to SC', use the variable from step 2 as documentpath | 4. in the step 'add report to SC', use the variable from step 2 as documentpath | ||
5. Finally, a step to remove the local file form the server | <br> | ||
- WS: Services: add document <br> | |||
- DocumentPath: use variable from step 2 | |||
<br> | |||
5. Finally, a step to remove the local file form the server<br> | |||
- Step name: Sample proces:Remove report from filesystem <br> | |||
- Step type: Execure application <br> | |||
- Location: cmd.exe<br> | |||
- Parameters: /c del "#REPLACE-VARIABLE-2741-Report local filename#" | |||
Sample process: https://ssp-test.auto.contiwan.com/Workflow/Admin/ProcessAddEdit.aspx?genericid=4624 |
Latest revision as of 07:34, 8 June 2022
So, you made a PDF in the process, but now it needs to go to the ServiceCatalog. Just using the created link will not get it over there :(
what you need to do :
1. Create folder on the server : “D:\Temp”
2. Added variable that stores the location of the file
- name: Report local filename
- value: D:\Temp\Maturity Review-#REPLACE-STEP-PROCESS-DateStarted-yyyyMMdd#-#REPLACE-FORMFIELD-serviceguid#.pdf
3. added a step of the type 'save file', before the step where you add the document to the SC
- content: #REPLACE-PDFREPORTCONTENT-61#
- Location : use the variable from step 2
4. in the step 'add report to SC', use the variable from step 2 as documentpath
- WS: Services: add document
- DocumentPath: use variable from step 2
5. Finally, a step to remove the local file form the server
- Step name: Sample proces:Remove report from filesystem
- Step type: Execure application
- Location: cmd.exe
- Parameters: /c del "#REPLACE-VARIABLE-2741-Report local filename#"
Sample process: https://ssp-test.auto.contiwan.com/Workflow/Admin/ProcessAddEdit.aspx?genericid=4624