Anonymous_User Absent Member.
Absent Member.
2712 views

Finding Trigger Event


It has been a while and I know I have run across a very similar thread
but I was unable to find it so here goes...

I have a trigger event that is created by a Exchange.New Mail event
(this works successfull) however I cannot remember how to find the
Exchange.New Mail event associated with the trigger that started the
workflow. Ordinarily I would think I could just search for the last
occurance but in this case that might not be possible and I do not see
an Object Locator or Event ID being generated as an available output on
the trigger?

Ultimately I need to find the event that tiggerd the workitem
(Exchange.New Mail event based on subject) so that I can parse the
message body text of the email to save as workitem attributes to be used
later on.

Thanks in advance

Loren Daniel
Memorial Hermann HealthCare
Sr. Programmer / Analyst
Information Systems Division


--
LorenDaniel
------------------------------------------------------------------------
LorenDaniel's Profile: https://forums.netiq.com/member.php?userid=4333
View this thread: https://forums.netiq.com/showthread.php?t=46808

0 Likes
4 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Finding Trigger Event


To refer back to the event that triggered the work item you can use
Input Builder and select Event Attribute. Using your example, you would
select Exchange.New Message Event for the Event Type and Text Body for
the Event Attribute. If the message body is HTML or RTF formatted you
would select the corresponding attribute for Event Attribute. The end
result for the Input Display would look something like {Exchange.New
Message Event.(MOST FREQUENT(Text Body))}

Thanks,
Kevin


--
haggardk
------------------------------------------------------------------------
haggardk's Profile: https://forums.netiq.com/member.php?userid=4343
View this thread: https://forums.netiq.com/showthread.php?t=46808

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Finding Trigger Event


Does this mean that the (in this instance) Exchange.New Message Event
only refers back to the events associated with the work item?

Thanks in advance

Loren Daniel
Memorial Hermann HealthCare
Sr. Programmer / Analyst
Information Systems Division


--
LorenDaniel
------------------------------------------------------------------------
LorenDaniel's Profile: https://forums.netiq.com/member.php?userid=4333
View this thread: https://forums.netiq.com/showthread.php?t=46808

0 Likes
Highlighted
Anonymous_User Absent Member.
Absent Member.

Re: Finding Trigger Event


Correct. Using Input Builder and selecting Event Attribute will
retrieve the specified attribute value from the event that triggered the
work item.

Thanks,
Kevin


--
haggardk
------------------------------------------------------------------------
haggardk's Profile: https://forums.netiq.com/member.php?userid=4343
View this thread: https://forums.netiq.com/showthread.php?t=46808

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Finding Trigger Event


haggardk;225274 Wrote:
> Correct. Using Input Builder and selecting Event Attribute will
> retrieve the specified attribute value from the event that triggered the
> work item.
> Assuming there is only one event. Input Builder defaults to "Most

Frequent of All Attribute Values", so in situations where your process
deals with multiple email triggers, (MOST FREQUENT) might not be what
you want. My own habit is to always set the "Qualifiers for Multiple
Events" to "Attribute Value from First Set" (FIRST), to always be sure
I'm getting the values from the email that originally kicked off the
work item. Again, if you only have one email to deal with, the default
won't cause any issue, just be aware of what it is.


--
lklubenspies
------------------------------------------------------------------------
lklubenspies's Profile: https://forums.netiq.com/member.php?userid=4381
View this thread: https://forums.netiq.com/showthread.php?t=46808

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.