Skip to main content
Version: 4.5.0

Getting started with iCIS

This topic serves as a quick introduction to iCore Integration Suite (iCIS) and is aimed at iCore beginners. The topic contains the following sections:

  1. Install iCore Integration Suite.
  2. Create a new User with Developer rights.
  3. Create and execute your first Adapterflow.

Install iCore Integration Suite

For detailed instructions on how to install iCIS, refer to Installing iCore Process Server (new installation). Make sure to also perform the post-installation tasks.

Create a new User with Developer rights


The purpose of this task is only to show you how to create a User with full development rights (including the right to create and modify Scripts. The Adapterflow tutorial later in this topic does not require that you are logged on as a Developer. For more information about user authorization, see User and User Groups.

To create a new User in iCore Administrator

  1. Log on to the iCore system as Admin.
  2. In the system explorer (the left-hand pane), select SystemConfiguration -> Users.
  3. Right-click and select Add User… The Add new User dialog box opens.
  4. In the Name field, enter the name of your new User.
  5. In the User group field, select Developer from the drop-down list.
  6. In the Password field, enter a password for the new User.

    The password must comply with the system's current User Password Policy (UPP). You can view the UPP on the Security tab in the System settings. To be able to modify the UPP, you need to be logged on as a User that has access to the restricted operation User Password Policy.

  7. Click OK. The new User has now been created.
  8. Log off the iCore system, and log back on using the new User credentials.

To create a new User with PowerShell Cmdlets

  1. Open the PowerShell console.
  2. Follow the example provided in Using cmdlets.

Create and execute your first Adapterflow

This tutorial shows you how to create a simple Adapterflow that does the following:

  • Picks up a test file from a local file folder.
  • Writes a short message to the log.
  • Stores the contents of the file in a Node.
  • Extracts some contents from the file and writes it to the log.

Once the Adapterflow has been created, you will also learn how to:

Create a test file

In this step, you will create the XML test file that will be picked up by the Adapterflow.

  1. Start a simple text editor, for example Notepad.

  2. Copy the following text and paste it into the file:

        <?xml version="1.0"?>
    <book id="bk101">
    <author>Gambardella, Matthew</author>
    <title>XML Developer's Guide</title>
    <description>An in-depth look at creating applications
    with XML.</description>
  3. Save the file as "BookOrder1.xml" on your desktop (or in any other location where it can easily be found).

Create a file reader Adapterflow

  1. Open your browser and navigate to the Administrator website.

  2. Log on to the iCore system as a User with Developer privileges.

  3. In the main tree, select Definitions -> Adapterflows.

  4. Right-click and select Add Adapterflow. The Adapterflow Wizard starts.


    Starting the Adapterflow Wizard requires that iCore tools have been installed locally. For more information, see Starting iCore tools.

  5. In the Name field, enter "MyAdapterflow".

  6. Click >>. The Entry point page opens.

  7. From the Adapter Entry Point drop-down box, select Filesystem reader.

  8. Select Standard/Directory, right-click and select Directory Path.

  9. Click  and select a suitable Scan directory (for example C:/Temp).

    Next, you are going to add an activity which writes a short message to the log confirming that a file has been found.

  10. Click >>. The Add Activities page opens.

  11. Click Add…

  12. From the drop-down list, select the Write to log activity.

  13. In the activity properties, select Text, right-click and then select String Value.

  14. Type “File Found [” and press Enter.

  15. To add the name of the found file, right-click on the added line (String), and select AddItem -> Activity Binding -> FileSystemReader1 -> Standard -> Original Filename Out.

  16. Right-click on the newly added line and add the closing “]”, by choosing Add Item -> Base Types -> String Value and type the character “]”.

  17. Click OK. Note that the new activity has been added to the activities summary.

    In the next few steps you are going to add an activity which stores the content of the file in a Node.

  18. Click Add….

  19. From the drop-down list, select the Create Node activity.

  20. Under the Standard heading, select Name, right-click and then select Add Item -> Activity Binding -> fileSystemReader1 -> Standard -> Original filename Out. This activity will retrieve the original file name, and is an example of when data from a previous activity is used in a later activity.

  21. Click OK.

    Finally, you will add an activity that extracts some data from the retrieved file.

  22. Click Add….

  23. Select Other -> Get Value By Regular Expression.

  24. Scroll down to Expression, right-click on the left part of the line, and select Regular Expression (shortcut: CTRL + ENTER). Click  to open the Regular expression editor. The Regular expression editor lets you add and test regular expressions before they are implemented in the Adapterflow.

  25. Right-click in the top pane to bring up a list of templates. Select Miscellaneous – XML Element.

  26. In the expression, replace "ElementName" with "title". Note that regular expressions are case-sensitive.

  27. Test the expression: copy and paste the content of the test file into the middle pane (on the Input tab). Click Test. If the expression is correct, the contents of the element \<title> will be displayed in the lower pane. The lower pane contains three lines (Before match, Match and After match), Match is selected by default. Select Before match and After match to see the contents.

  28. Click OK to save the expression.

  29. Click OK in the Add Activity window to save the activity.

  30. Add another Write to log activity to the Adapterflow.

  31. In the Text field, type “Book title [” and press Enter.

  32. Right-click on the added line (String), and select AddItem ->Activity Binding ->getValueByRegularExpression1 ->Matched Result ->Matched Data Out.

  33. Add a closing bracket (“]”) to the log line (String value).

  34. Before saving the activity, change the Node ID property by adding a binding to the created Node: select AddItem -> Activity Binding -> createNode1 -> Standard ->Node ID Out. This will connect the log line to the Node, and improve tracking possibilities.

  35. Click >> twice. The Adapter Summary is displayed.

  36. Review the summary and check that the flow is activated and the activities are enabled.

  37. If everything looks ok, click Create. The Adapterflow is created.

Execute the Adapterflow in the Run Component tool.

  1. In the Administrator, select Tools -> Run Component Tool.

  2. Locate and select the new Adapterflow in the list.

  3. Click the Run icon in the upper left corner to run the Adapterflow. As the execution progresses, logs are displayed in the right-hand pane. Verify that the last log line contains the text “Running”.

  4. Place a copy of the BookOrder1.xml in the scan directory.

  5. Check that the file is removed within 30 seconds (this is the default scan interval).

  6. Check the log in Run Component tool. The log should now contain additional rows (file found and book title).

  7. In iCore Administrator, select Tracking -> Nodes. The retrieved file should now be stored as a Node. Select the Node, and open its contents by clicking the path displayed in the details pane with the title "File name".

  8. In the Run Component tool, click Stop to stop the file reader Adapterflow from executing.

Execute the Adapterflow in iCIS runtime

To be able to execute the Adapterflow in iCIS runtime, you need to create a Component configuration and an Event configuration. For more information, see Runtime.

  1. Make sure the iCore Server is enabled, the service is installed, and your iCore license is active.
  2. In the system explorer tree, select Configuration -> Components.
  3. Right-click and select Add Component. The Add Component window opens.
  4. In the Definition field, open the drop-down list and locate the Adapterflow “MyAdapterflow”.
  5. In the Name field, enter “MyAdapterflow”.
  6. Set the Lifetime property to “Session”. This means that, once the Component is executed, it will continue to run for the entire iCore system session (i.e. until the iCore system is stopped).
  7. Click OK.
  8. Select Configurations ->Event configurations.
  9. Create an Event configuration with the following properties:
    • Name: MyAdapterflow
    • Event type: _iCore_SystemStarted
    • Execute: MyAdapterflow

      This is the Event configuration that will trigger the integration flow in iCPS. It uses a system-defined Event type called _iCore_SystemStarted.

  10. Restart the iCore system.
  11. Place another copy of the BookOrder1.xml in the scan directory.
  12. Verify that the file has been processed in iCore by studying the tracking entities.
    • Check the log.
    • Check the Node and the contents of the Node.
    • Check the Events and Jobs.
    • Check the System monitor to see the current status of the Server parts and the Events created, Jobs dispatched etc. The System monitor also provides valuable information about  currently available slots, processes running in the different Application pools etc.

See Also

Technical architecture & Runtime



Installing iCore Process Server (new installation)