Service Manager / Service Center Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

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

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
Valued Contributor

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

Have you tried the Subroutine section of the FC?


Kris
Honored Contributor Honored 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.
Honored Contributor Honored 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)