The AS2 Workflow task object in Astera allows us to send EDI files to a partner using the AS2 protocol.
To use an AS2 Workflow task,
Drag-and-drop the AS2 Workflow task object onto the Workflow designer.
Configure the object by right-clicking on the object’s header and selecting Properties from the context menu.
An AS2 Action Properties window will open, as shown below. Here, we will configure the properties of the AS2 Workflow task.
EDI File – This is where you will select the EDI File you want to send to your partner.
Next, we have the Choose AS2 Partner option; here, we can either select an already existing partner or we can add a new partner.
If we select the New Partner option, we will be presented with the screen shown below. Here, we can import a new partner by configuring their information. To learn more on how to setup a partner, click here.
For our use case we will be using the option Specify AS2 Partner Information instead of choosing an AS2 partner, as shown below.
Here we need to specify the following:
AS2 Partner Server URL – The URL of the partner's server where their AS2 service is active.
AS2 From – Your AS2 ID.
AS2 To – Partner's AS2 ID.
AS2 Partner Certificate – File path where the partner's public certificate is stored.
AS2 Sender Certificate and Password – File path where your private certificate is stored along with its password.
Once configured, click Next.
The Config Parameters screen will open; here, we can configure and define parameters for multiple variables.
Parameters simplify deployment of flows by replacing hardcoded values. If left empty, default properties are used.
Let’s keep the default settings and click OK.
Our AS2 Workflow task object is now configured. We can now schedule this Workflow or run this Workflow to send our EDI file to our partner.
This concludes our discussion on the AS2 Workflow task in Astera.
The AS2 protocol is a file transfer protocol commonly used to transfer EDI files from one AS2 partner to another.
In this document, we will learn how to add an AS2 Partner in Astera.
To setup an AS2 Partner go to the Server Explorer, right-click on DEFAULT and select the AS2 Setup option.
The AS2 setup configuration page will open, select the AS2 Partners tab. This is where all configured partners are shown.
Note: Make sure your deployment directory is set up in the Cluster Settings before this step.
Let’s click on the import arrow to add a new partner.
An Import Partner window will open like this:
Partner Name – The name used to refer to this partner.
Partner URL – The URL of the partners server where their AS2 service is active.
AS2 ID – Partners unique identifier.
Certificate File – File path where the partners public certificate is stored.
Now, let’s add our AS2 partner and click Import.
Our AS2 partner has been added.
This is how an AS2 partner can be added to send and receive EDI files in Astera.
An AS2 protocol is a file transfer protocol commonly used to securely transfer EDI files from one partner to another.
In this document, we will learn how to setup an AS2 Server in Astera.
To setup an AS2 Server go to the Server Explorer, right-click on DEFAULT and select the AS2 Setup option.
The AS2 setup configuration page will open, as shown below.
Let’s look at the different configuration options provided here.
Server URL – This is the URL of your server where the AS2 service is active, listening for calls from your partner to transmit an EDI file.
AS2 ID – A unique identifier which would allow our partner to identify our request to send a file.
Server Upload Directory – Directory where we want to store all files sent through the AS2 request.
Public Certificate Path – File path where our public certificate is stored.
Private Certificate Path and Password – File path where the private certificate is stored along with its password.
Note: We can manage our certificates on the Certificate Store.
Now, let’s configure our AS2 Server:
Our AS2 server setup has now been configured. We can now save it and make use of our AS2 service to send and receive EDI files in Astera.
This is how an AS2 server can be setup to send and receive EDI files in Astera.