Contents
Display Legacy Contents

 Print
    Run Process    
Executes the specified external application.

Parameters For Windows

Process <string>

Complete path to the application you want to launch.

 
Parameters <string>

Input parameters to pass to the application to launch.

 
Wait <numeric>

Indicates if Kalipso should wait for the end of execution or not.

 
Target Return Value <target>

Control or Variable where to store the returned value of the application's execution.


Parameters For Android

Parameters

Action <string>
    Name of the action to perform. On Android this parameter is also known as "Intent".
       
  Data URL <string>
    Used to indicate the path of a file when the goal is to access an external file.
       
  Date Type <string>
    Used to indicate the "mime" file type of Data URL, for example "application / pdf".
       
  Launch Type <numeric>
    Indicates how the "Intent" should behave when to launch.
     
     The possible options for this parameter are:
   
  • Wait - Waits for the end of the execution.
  • Don't Wait - Doesn't wait for the end of the execution.
  • Broadcast - Broadcasts through an emitter and a receiver. 
       
  Parameters
    Name <string>
   
Name of the first Parameter to pass to the application.
       
    Is Array <numeric>
   
Indicates if the parameter to pass to the application should be sent as an array or not or as an arrayList.
       
       The possible options for this parameter are:
       
     
  • Yes.
  • No.
  • ArrayList. 
       
    Type <numeric>
      Type of the first Parameter to pass to the application.
       
    Value <type depends on Type>
      Value of the first Parameter to pass to the application.
       
    Element Separator<string>
      Character to be used as separator.
       
    (...)  
       
    nth-Name <string>
      Name of the nth-Parameter to pass to the application.
       
    nth-Name <string>
      Name of the nth-Parameter to pass to the application.
       
    nth-Type <numeric>
      Type of the nth-Parameter to pass to the application.
       
    nth-Value <type depends on nth-Type>
      Value of the nth-Parameter to pass to the application.
       
    nth-Element Separator<string>
      Character to be used as nth-separator.
       
  Targets
    Target Return Code <target>
      Control or Variable where to store the returned code of the application's execution.
       
    Target Return Values
      Name <string>
     
Name of the first Return Value returned by the application.
Specify "data" to get the data of the intent and use type String or URI.

         
      Type <numeric>
        Type of the first Return Value returned by the application.
         
      Target <target>
        Control or Variable where to store the first Return Value returned by the application.
         
      (...)  
         
      nth-Name <string>
        Name of the nth-Return Value returned by the application.
         
      nth-Type <numeric>
        Type of the nth-Return Value returned by the application.
         
      nth-Target <target>
        Control or Variable where to store the nth-Return Value returned by the application.

     
  • In Android, if you can't find the Action to execute, you can try to run adb shell and use pm list packages -f command to list apks and packages. The package name should be the Action to execute.
  • In Android to get the data of the intent create a return value with name data and type String or URI.
  • In Android, when passing a File as parameter to be updated by the called App, if the file does not exist, it may fail, specially in the most recent versions of Android (10 or higher), so you should create a file, even if empty or with dummy data, and then pass that file to be written.
  • URI parameters passed in this action may be given general read/write access, so be carefulll when passing files with sensitive data.

See also
Samples

 
 
Updated: 5/10/2020 1:11 PM