Commit 5eff4b5
admin
Adds a ServiceNow Flow Designer Action that cleans CSV file attachments by removing a specified number of header lines. The script fetches the target attachment, skips the requested number of lines, and outputs the cleaned CSV content. Optionally, it can write back the cleaned data as a new attachment. Handles missing content and errors gracefully.
Inputs(attachmentSysId, linesToSkip,writeBackAsAttachment, parentTable, parentSysId, newFileName)
Outputs (cleanedCSV, cleanedAttachmentSysId)1 parent 5af2fe2 commit 5eff4b5
File tree
3 files changed
+4389
-2
lines changed- b812ceb69337a210633378917cba10bc
- update
3 files changed
+4389
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments