Urgent! How to invoke doAction("save") successfully by background process? (226 Views)
Reply
Contributor
wayne_sun
Posts: 14
Registered: ‎07-28-2011
Message 1 of 4 (226 Views)

Urgent! How to invoke doAction("save") successfully by background process?

Hi,experts
I want to invoke doAction("save") through a background process, but it failed and I look into the rootcause and found RAD se.external.action exits abnormally, then I do some simple tests to call doAction("save") by background process and they are all failed, however, it succeed if calling doAction("save") by a displayoption.

So I would like to know how to invoke doAction("save") successfully by background process?

Thanks a lot!

 

some sm.log as following:

------------------------------------------------------------------------------------------------------------------

 

  3464(  1356) 04/18/2013 17:51:51  RTE D RADTRACE     16 [ 0] se.external.action                  start                     process      CPU(   94    639 )
  3464(  1356) 04/18/2013 17:51:51  RTE D RADTRACE     16 [ 0] se.external.action                  setup.globals             userdefn     CPU(    0    639 )
  3464(  1356) 04/18/2013 17:51:51  RTE D RADTRACE     16 [ 0] apm.setup.globals                   start                     decision     CPU(    0    639 )
  3464(  1356) 04/18/2013 17:51:51  RTE D RADTRACE     16 [ 0] apm.setup.globals                   RADReturn                 Unknown      CPU(    0    639 )
  3464(  1356) 04/18/2013 17:51:51  RTE D SCRIPTTRACE: test2.upd exited, elapsed: 280 ms
  3464(  1356) 04/18/2013 17:51:51  RTE D RADTRACE     31 [ 0] se.external.action                  RADNullExit               Unknown      CPU(    0    639 )

Valued Contributor
Kris Jensen
Posts: 87
Registered: ‎02-06-2008
Message 2 of 4 (202 Views)

Re: Urgent! How to invoke doAction("save") successfully by background process?

Have you tried the Subroutine section of the FC?


Kris
Honored Contributor
Piku
Posts: 4,013
Registered: ‎06-17-2010
Message 3 of 4 (199 Views)

Re: Urgent! How to invoke doAction("save") successfully by background process?

Are you using some web services for the same ?
Other wise it works well.

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
Honored Contributor
Vadim Gorda
Posts: 5,781
Registered: ‎11-10-2008
Message 4 of 4 (185 Views)

Re: Urgent! How to invoke doAction("save") successfully by background process?

Hello,

add a new button for that screen and action save with condition nullsub($G.bg,false)

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.