Creating Dispatch Scripts

Hello

I'm looking to create a script under dispatch. Here are the steps

Extract the file

Manually define in a text box a value of an EPDM variable present  in our data map

Saying it's OK

I created a start block

Archive the file I block on the syntax

the message OK it's good too

extract I block on the syntax

an end block

Anyone have any examples, a doc, or advice to give me?

 

 

 


2019-02-26_21_28_05-window.png

Hello

Effectively dispatch is not very documented, but the actions are quite simple to understand and configure because they are all pre-created.

for free text windows you have to use the command "Edit area" store are contained in a temporary variable, then re-inject it into the data card variable with "Set map variables"

 

1 Like

Good evening

To retrieve or archive the easiest way is to use this: %PathToSelectedFile%

For the editing area, you need to define an environment variable and then a variable of the "Static String" type which allows you to retrieve this manual entry. Then you have to use the "set card variables" function to inject the result into the card variable.

The roughly ordered order should look like the attached capture.

 


exemple_dispatch.jpg
1 Like

For the environment variable it should look like the attachment.


variable_environnement.jpg
1 Like

Hello Cyril,

Thank you for your quick reply., it works perfectly.

 

 

Hello Cyril,

I have another problem on dispatch.

When I want to fill in several files with  a dispacth action, it runs as many times as selected files

You then have to fill in the editing area each time.

An idea of how to fill in all the files at once.

See video for observed pb

Thank you for your help

 


dispatch_renseignement_plusieurs_fichier.mp4

 Hello yannick.petit,

Have you finally managed to create a Dispatch action that allows you to fill in several files in bulk, i.e. at once without having to fill in the field for each selected file ?

I'm trying to do the same thing but I don't see how to program the action...

Have a nice day.

J.F.B.