Service Manager / Service Center Practitioners Forum
cancel

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

Highlighted
wayne_sun
Regular Contributor.

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 )

3 REPLIES
Kris Jensen
Super Contributor.

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

Have you tried the Subroutine section of the FC?


Kris
Piku
Acclaimed Contributor.

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.
Vadim Gorda
Acclaimed Contributor.

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)