Menu ā–¾ ā–“

User Info Not Coming in Logs from iTop

Chaitanya
2025-01-14
2025-01-14
  • Chaitanya

    Chaitanya - 2025-01-14

    Hello Community,

    I'm integrating iTop with OpenSearch using n8n. The setup involves:

    iTop firing an API request to n8n with delete log details.
    n8n processing the data and sending it to OpenSearch.
    In iTop, I am using the following message structure:

    Your request $this->friendlyname$ is deleted.
    Title: $this->title$
    Description: $this->description$
    Priority: $this->priority$
    Userinfo: $this->userinfo$

    Everything works as expected, and the fields are populated in n8n except for Userinfo, which comes in as userinfo: $this->userinfo$".

    My Observations:
    The other placeholders ($this->friendlyname$, $this->title$, $this->description$, $this->priority$) are correctly being passed.
    Only $this->userinfo$ is not being transmitted as expected.

    My Question:
    Is there a specific configuration or limitation in iTop regarding $this->userinfo$?
    Do I need to enable or format the userinfo field in a particular way for it to be included in the API call?

    Any Suggestions or Guidance:
    I’d appreciate any guidance or troubleshooting tips from the community. Let me know if further details are required to diagnose the issue.

     
  • Vincent @ Combodo

    Hi,
    Where have you found any reference to a "userinfo" field on a User Request (or any ticket)?
    $this-> reference the current object which triggered the action.
    for information about the current user, there are other placeholders starting with $current_contact-> which reference a Person object
    More placeholders here

     
    šŸ‘
    1
  • Chaitanya

    Chaitanya - 2025-01-14

    I noticed that the userinfo field in the event notification email trigger displays information about who performed a specific activity. I've attached a screenshot for reference.

    Hope this helps!

     
    • Jeffrey Bostoen

      Jeffrey Bostoen - 2025-01-14

      But this is not part of the "UserRequest" class.
      It's part of an EventNotification I believe.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.