Message 1 of 3
Manual Parameter NC - Comment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am using manual NC for alot of custom functions. Is there any way to access the name that I rename the operation to as a paramater so I can insert it as a comment.
For a standard operation the funtion that does this is:
if (hasParameter("operation-comment")) {
var comment = getParameter("operation-comment");
if (comment) {
writeComment(comment);
I have tried variations like below but they dont seem to work:
if (hasParameter("parameter-comment")) {
var comment = getParameter("parameter-comment");
I'm hoping there is a more elegant solution that putting it in my value as a comment