CI File Import that creates an activity record (128 Views)
Reply
Advisor
Peeves02
Posts: 40
Registered: ‎04-22-2009
Message 1 of 2 (128 Views)

CI File Import that creates an activity record

Hi,

 

Whenever the user adds a new CI, a new history/activity record is created.  The creation of the history/activity is called by a Process where the sc.activity is executed.  It even displays a message so that you'll know that the Process was executed.

 

I created a file import for a CI.  I added a trigger (After Update) where I call this Process so that a history/activity record will be created.  It is even displaying the message during file import so I know that the Process is being called.

 

But no history/activity record is ever created.

 

I even displayed the value of $L.file and $L.file.save and they all have contents.  I even compared its value when doing a manual entry.  Everything is the same.

 

But I am stumped that the activity record is not created during file import.  Search forums but can't find anything useful.

 

Would really appreciate any ideas/thoughts on this one.

 

Thanks!

Honored Contributor
Piku
Posts: 4,046
Registered: ‎06-17-2010
Message 2 of 2 (100 Views)

Re: CI File Import that creates an activity record

Hi,

verify whether actually activity is generated or not?
It might be possible that it is not attaching to you CI record.
Print the activity number generated to check.

Also paste you script to further verification.

hth
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Assign Kudo, if found post useful and mark it accepted if solves the issue.
http://h30499.www3.hp.com/t5/Tips-and-Tricks/Kudos-what-where-how-and-why/m-p/5677925#U5677925
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.