Top New Features for June

Added Support for Sequencing EDI Segments and Parent-Child Sequencing

EDI HL Segment Logic has been built into the EDISegmentMergeReceiver [HL01 (element follows Sequence Logic) and HL02 (element follows referring to parent HL01 element value)]:

EDI Documents (837-P, 837-D, 837-I, and more) contain HL Segments (represented as Domain in GenRocket), which is present in various Loops (Loop represents Domain in GenRocket), which follow a kind of relationship, although there is no direct relationship between all the HL Segments.

HL01 (which is Attribute in HL Segment) follows a logic that generates a Sequence number. If one HL01 Attribute in one HL Segment generates value (1), then another HL01 present in another HL Segment will generate the next value (2) and the 3rd HL01 present in the 3rd HL Segment will generate the next value (3), and so on.

HL02 (which is Attribute in HL Segment) follows a logic that refers to the parent HL01 value.

The rules in HL01 and HL02 Segment Attribute are difficult to manage from Test Data Cases and the same set of changes has to be copied in Test Data Cases, so we decided to make this logic generic and built it into the EDISegmentMergeReceiver.

For the EDISegmentMergeReceiver to manage this by itself, you will need to assign the ConstantGen Generator within the Attribute with the predefined pattern.


Loop2000A (Domain)

  HL (Domain: BillingProviderHierarchicalLevel2000A)

     HL01 (Attribute)  - Assign the ConstantGen with value (#{grSequence.hl})

  Loop2000B (Domain)

     HL (Domain: SubscriberHierarchicalLevel2000B)

          HL01 (Attribute) - Assign the ConstantGen with value (#{grSequence.hl})

          HL02 (Attribute) - Assign the ConstantGen with value (#{grSequence.hl.BillingProviderHierarchicalLevel2000A})

        Loop2000C (Domain)

            HL (Domain: PatientHierarchicalLevel2000C)

                HL01 (Attribute) - Assign the ConstantGen with value (#{grSequence.hl})

                HL02 (Attribute) - Assign the ConstantGen with value (#{grSequence.hl.SubscriberHierarchicalLevel2000B})

Loop 2000C > HL > HL01 Attribute Image Example

Loop 2000C > HL > HL02 Attribute Image Example

Generated Output:

Loop2000A (Loop Count 1)

  HL (Loop Count 1)

     HL01 (Attribute)  generates 1

  Loop2000B (Loop Count 1)

     HL (Loop Count 1)

          HL01 (Attribute) generates 2

          HL02 (Attribute) generates 1

        Loop2000C (Loop Count 1)

            HL (Loop Count 1)

                HL01 (Attribute) generates 3

                HL02 (Attribute) generates 2

Dynamic File Name and Directory Added to JSONSegmentMergeReceiver

The Dynamic File Name and Directory Tabs have been added to the JSONSegmentMergeReceiver. These tabs can be used to dynamically configure the number of records per generated file and the number of files within each generated directory when a Scenario is run. The number of generated files and directories depends on the following: 

  • loopCount value for the Domain
  • File and Directory Tab Configurations

Apart from that, you can also configure the naming of your output file and output sub-directory.

New NumberToWordsGen Generator

The NumberToWordsGen Generator references any other Generator that generates a number and then converts the number into words.

gen1 - referenced value

gen2 - sample output

New GitHubReceiver

The GithubReceiver traverses one or more payload subdirectories and for each file found, this Receiver commits and pushes the file to a branch.

Note: For more information about this Receiver, click here.

New ImageTemplateReceiver

The ImageTemplateReceiver augments an original image with the Attribute values configured by the user. The image can be a GIF, JPEG, or PNG. 

  1. Add the Receiver to a Domain.
  2. Configure the Receiver Parameters.
  3. Click on Manage Image Template.

  4. Augment the Image with Domain Attributes.

  5. Generate the augmented images.

Note: To see the full documentation for this Receiver, click here

Scratch Pad Update

Any delimiter can now be entered within the text box or selected from the drop-down menu when using Scratch Pad to create a new Domain.