Skip to content

Conversation

@juhikumarimodi6
Copy link
Contributor

Add Flow Action to append work notes to task records

  • Introduces a reusable Flow Action that adds comments to the work notes field of any task-type table (e.g., Incident, Change, Problem).
  • Includes error handling with success flag, detailed message, and error code for better debugging in Flows.
  • Provides flexible input parameters for table name, sys_id, and comment text.
  • Ensures outputs clearly indicate whether the operation succeeded or failed.

@github-actions
Copy link

github-actions bot commented Oct 3, 2025

Valid PR for ActionPack

Thank you for your contribution. This PR complies with the CONTRIBUTING.md.
A maintainer will review this shortly. In the meantime, Happy Hacking!

@rohi-v rohi-v self-assigned this Oct 3, 2025
Copy link
Contributor

@rohi-v rohi-v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution

This action will work for any table as per your code and not only task table records. Please update description accordingly.

Also in your action I could see multiple times the line 'add comment to worknote'and 'add worknote comment' which is misleading,Please review them and update as per your use case.!
image

Once changes are completed,I will review and approve it.

@juhikumarimodi6 juhikumarimodi6 requested a review from rohi-v October 3, 2025 06:06
@juhikumarimodi6 juhikumarimodi6 changed the title Add Flow Action to append work notes to task records Add Flow Action to append work notes to records Oct 3, 2025
Copy link
Contributor

@rohi-v rohi-v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can still see comments added texts instead of work notes.
Example: "Comment added successfully"

Although these are minor changes but these will cause confusion .

Please Update the action and request review again, Will approve it.

@juhikumarimodi6 juhikumarimodi6 requested a review from rohi-v October 3, 2025 18:45
@rohi-v rohi-v merged commit 9270fb0 into ServiceNowDevProgram:main Oct 4, 2025
@rohi-v
Copy link
Contributor

rohi-v commented Oct 4, 2025

Approved, Thank You for your contribution

@juhikumarimodi6 juhikumarimodi6 deleted the actionpack1 branch October 4, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants