Question

How to implement command (RunLocalMacro) by IFS Aurena Agent

  • 27 March 2024
  • 5 replies
  • 93 views

Badge +2

I would like to know the specific values of the arguments of "RunLocalMacro" that can be executed using IFS Aurena Agent.

If anyone can confirm that it actually works, please let us know the argument values.

 

Related links on this subject:

https://docs.ifs.com/techdocs/Foundation1/050_development/022_user_interface/030_aurena_dev/100_how_to_develop_aurena_pages/045_aurena_agent/


5 replies

Userlevel 7
Badge +30

Hi @Kazuya Sashino 

Can you tell us a bit more on how you plan to use this? Also, do you happen to have access to the client code (as a partner, I hope you have)? If you have, it's the best place to look since you will have a better understanding on what values you need to provide to that particular agentcall.

As a general rule, regardless of what you are trying to do:

- Avoid relying on the Aurena Agent
- Avoid relying on macros

It's not that the above doesn't work, but if you can find other ways to solve the problem, it might be better. Ideally, we don't want to rely on the Aurena Agent for anything, but sometimes it's the only solution we have.
 

Badge +2

Hi @Mathias Dahl

 

IFS Aurena Agent is being used to invoke a VB Script that executes an external program (exe).

The execution of the command itself has been confirmed from the logs.

Userlevel 7
Badge +30

Thanks! Do you have access to the IFS source code?

 

Badge +2

Hi @Mathias Dahl

 

I have access any IFS standard source code provided on Build Place.

Userlevel 7
Badge +30

@Kazuya Sashino 

Then look for calls like this in any of the .client or .fragment files:

  agentcall RunLocalMacro

You will be able to see from where we get the data to be sent in.

Good luck!

 

Reply