SetDocumentProperties

SetDocumentProperties

What to use it for

Prerequisites for usage

Essential properties to set

With SetDocumentProperties you can specify new values for one or more document properties. Some situations in which this can be useful:

  • Display purposes: To modify the information about the document (e.g. for the SmartBridge GUI, or for the recipient).
  • Routing: Have the document assigned to a relevant next Workflow, based on original or altered document properties.
  • Distribution: Influence the distribution of a document, based on original or altered document properties.

 

None.

None.

Options for SmartBridge 3

Primary options

OptionWhat is itHow to use it
Current document

The variable or argument referring to the document this activity is operating upon.

  • Leave empty if the activity should process the original document (default).
  • Enter or assign the Clone Document Key if the activity should process a clone document.

Recommended: Leave empty when you are not using a Clone Activity.

Document formatOption to assign a different document format.

Enter a document format, using alphanumeric characters.

Examples: XML, PDF, ZIP

Document typeOption to assign a different document type.

Enter a document type, using alphanumeric characters.

Examples: order, invoice

Document subtypeOption to assign a different document subtype.

Enter a document subtype, using alphanumeric characters.

Example: D96a

All options

 Click here to expand...

Analyzer Options


Option

What is it

How to use it

Preserve existing values

"Do you want to complement or overwrite existing values?"

 Read more

Sometimes a document might be carrying a couple of document property values resulting from an analysis at an earlier moment. A secondary analysis might find additional property values.

If you want to add values to additional properties that were previously empty while preserving existing values, then set to true. If you only care about new property values and do not care about values from an earlier analysis, set to false.

Document Format will always be overwritten.

Indicate your choice:

  • True/Checked - If values are known from a previous analysis, keep them, and add values for properties that have no value, yet.
  • False/Unchecked - If values are known from a previous analysis, overwrite them with new values. (default).

Do not clear values

"Do you want to keep known values or overwrite them, even when it results in empty values?"

 Read more

Sometimes a document might be carrying a couple of document property values resulting from an analysis at an earlier moment. A secondary analysis might find that some of those properties are empty.

If you want keep the properties that previously had values, then set to true. If you only care about new property values and do not care about values from an earlier analysis, then set to false.

Indicate your choice:

  • True/Checked - If values are known from a previous analysis, keep them.
  • False/Unchecked - If values are known from a previous analysis, overwrite them, even when it will result in properties without values (default).

Use Inhouse analyzer

Specifies whether the Workflow should analyze Inhouse documents (using Inhouse document structures), or skip it.

Indicate which of the two applies:

  • True/checked - Analyze Inhouse documents (default).
  • False/unchecked - Skip analyzing Inhouse formats.

Use flat file analyzer

Specifies whether the Workflow should analyze flat files (using Flat file document structures), or skip it.

Indicate which of the two applies:

  • True/checked - Analyze ASCII documents (default).
  • False/unchecked - Skip analyzing ASCII formats.

Use EDI analyzer

Specifies whether the Workflow should analyze EDI files, or skip it. This applies to these EDI formats: EDIFACT, ANSI X12, TRADACOMS or GENCOD.

Indicate which of the two applies:

  • True/checked - Analyze EDIFACT, ANSI X12, TRADACOMS or GENCOD document structures (default).
  • False/unchecked - Ignore EDIFACT, ANSI X12, TRADACOMS or GENCOD document structures during document analysis.

Use XML analyzer

Specifies whether the Workflow should analyze XML files, or skip it.

When turned off, no XML document structures will be used during the analyzing process.

Indicate which of the two applies:

  • True/checked - Analyze XML files (default).
  • False/unchecked - Do not analyze XML formats.
Recognize PDFSpecifies whether the Workflow should analyze PDF files, or skip it.

Indicate which of the two applies:

  • True/checked - Analyze PDF files (default).
  • False/unchecked - Do not analyze PDF formats.
Recognize ExcelSpecifies whether the Workflow should analyze Excel files, or skip it.

Indicate which of the two applies:

  • True/checked - Analyze Excel files (default).
  • False/unchecked - Do not analyze Excel files.

Document properties

Use these properties to change the properties of a document.

 

Option

What is it

How to use it

Document format

Assign a different document format to the document, which replaces the current value.

Enter a document format.
Examples: EDIFACT, XML, PDF, etc...

Document type

Assign a different document type to the document, which replaces the current value.

Enter a document type.
Examples: ORDERS, Invoice, etc...

Document subtype

Assign a different document subtype to the document, which replaces the current value.

Enter a document subtype.
Examples: D96A, Internal, etc...

Sender short name

Assign a different sender to the document, which replaces the current value.

Use the selectbox to select one of the partners known to the system.

Recipient short name

Assign a different recipient to the document, which replaces the current value.

Use the selectbox to select one of the partners known to the system.

Processing priority

Specify the processing priority to be assigned to the document.

Enter an integer.

  • Highest priority: 0
  • Lowest priority: 9999

Communication subject

Option to indicate the subject of the communication.

 Click here to expand...

You can regard this option as generic metadata for any kind of communication. The most common option is subject information used in SMTP or SMI ('subject line'). However, you could also send subject information over FTP(S), which is used for navigating directories (where the subject is reflected in the directory names).

Enter a value.

Test indicator

Specifies if the document is a test document. This can be used later in the Distribution Channel selection, or in the selection of a new Process if requested so in the Workflow.

  • False/Unchecked - Regular document.
  • True/Checked - Test document.
  • Preserve -

Content grouping parameter

Define an extra value that can be used in the grouping process. This only applies to EDIFACT documents.

 Click here to expand...

In case you indicated that documents should be grouped, SmartBridge will, by default, group documents per recipient.

In some cases you might need more granular grouping, such as: Group all orders for the same recipient. This requires you to set a content grouping parameter, to indicate what additional property you will use for grouping documents.

Use a Macro to indicate which additional property should be used for grouping documents.

 Supports dynamic values from Macros »

Instead of using static values you can also use dynamic values.

With so called Macros you can have SmartBridge dynamically replace (part of) the value with properties extracted from a document (e.g. recipient), or with system settings (e.g. date). See the Macros for Workflows for more details and examples.

Document property options

OptionWhat is itHow to use it
Assign distribution channel

SmartBridge by default assigns a Distribution Channel based on the final document properties resulting from a Workflow. Use this option to, instead, assign a Distribution Channel based on the document properties known at the time of this Activity.

To enable or disable this option:

  • Unchecked - Leave the default Workflow behavior. (Default)
  • Checked - Use the currently known document properties to assign a Distribution Channel.
Assign group owner as recipient

This option is relevant when you use Partner Groups.

Indicate whether the group owner should receive the document, instead of (one of) the group recipients.

 Click here to expand...

Partner Groups are often used for organizations with several departments that are part of a single Holding entity. A Partner Group has an Owner, and a group contains Partners. Suppose a Partner is the appropriate recipient for despatch advices, but the Owner is the appropriate recipient for invoices. You could then have SmartBridge look up the associated Owner of a Partner, using the Partner Groups settings, and have the invoice send to the Owner, who will pay on behalf of the Partner.

To enable or disable this option:

  • Unchecked - Leave the default Workflow behavior. (Default)
  • Checked - Have SmartBridge look up the Group Owner and send the document to that Owner instead of to the Partner.
Assign group owner as sender

This option is relevant when you use Partner Groups.

Indicate whether the group owner should be set as document sender.

 Click here to expand...

Partner Groups are often used for organizations with several departments that are part of a single Holding entity. A Partner Group has an Owner, and a group contains Partners. Suppose a Partner is the appropriate sender of despatch advices, but the Owner is the appropriate sender of invoices. You could then have SmartBridge look up the associated Owner of a Partner, using the Partner Groups settings, and have the invoice send  by the Owner, on behalf of the Partner.

To enable or disable this option:

  • Unchecked: Keep original sender. (Default)
  • Checked: Set the Group owner as document Sender instead of the Partner.
Document numberChange the document number.

Add an alphanumeric value and/or use Macros.

 Supports dynamic values from Macros »

Instead of using static values you can also use dynamic values.

With so called Macros you can have SmartBridge dynamically replace (part of) the value with properties extracted from a document (e.g. recipient), or with system settings (e.g. date). See the Macros for Workflows for more details and examples.

Enqueue for grouping

Specify whether the document should be grouped before sending, or not.

  • Only use for EDIFACT documents.
  • This setting might be overruled by other settings. Two common settings that overrule:
    • Other activities that are executed later in the Workflow.
    • Settings of the Distribution Channel that will send out the document.

Select an option from the dropdown:

  • Preserve – Use whatever is configured elsewhere. (default)
  • No Grouping – Send this document without grouping.
  • Group – Group the document before sending.
Use NULL values

Indicate what SmartBridge should do with an empty value (or 'null') in the document properties settings.

To enable or disable this option:

  • Checked – Empty all document properties that contain a 'null' value.
  • Unchecked – Do not change document properties that are empty or a value of 'null'. (default)


Input Options

Option

What is it

How to use it

Current document

Use CurrentDocument to indicate which data you want to process with the current Activity.

This option only becomes relevant in case a preceding Activity generated new documents.

In general, leave at the default value.

  • In most cases you do not need to modify this option.

    • With the default value, the Activity will process the original document.
  • Only enter a custom alphanumeric ID when necessary to be able to process a newly generated document.

 

 Read more »

The only situation in which you might need to modify this option, is when your Workflow produces several new documents based on one incoming original document. Activities that use a single document to produce several documents:

These Activities produce several documents, and some of those might require additional, specific processing.

To be able to indicate which documents require different processing, you will need to have done the following:

  • Have SmartBridge assign an ID to the newly produced documents.
  • Within in the current Workflow, create a specific sequence of Activities for these documents.
  • Assign the documents to their sequence, by referring to their IDs.

 

Options for SmartBridge 2

 Click here to expand...

All options

 

Activity

Every Workflow Activity needs to have a name, and be configured to be either on or off. These generic properties are part of the Activity properties.

Option

What is it

How to use it

Name

 

A unique name for the Activity. Names are used for two reasons:

  • So you are able to identify the activity throughout the Workflow.
  • More importantly, a name is essential in case you want one Activity to refer to another, specific Activity.
  • Leave the generated name (default)
  • Or enter a unique name.

Description

Description of the activity, to give others some context about the Activity.

Enter an optional description.

Enabled

 


Specifies if the Activity should be enabled or not.

Disabled Activities will be skipped during Workflow execution and validation.

Select option from the dropdown:

  • True – Enables the Activity (default).
  • False – Disables the Activity.

Recommended: True

Document property options

Use these properties to control if and how the Activity should modify the properties of the processed document. The changes are effective immediately after the Activity is finished.

 

Option

What is it

How to use it

Analyze Document

Specify whether the document should be reanalyzed immediately after the Activity has finished processing (but before continuing to the next Activity).

When enabled, this setting overrules the Change document properties settings.

To enable or disable this option:

  • True/Checked - If you want SmartBridge to reanalyze the document (i.e., to have SmartBridge use any of the document settings that you configured in this Activity). 

  • False/Unchecked - Document will not be analyzed (Default).

Change document properties

Specifiy whether you want to change some of the document properties after executing the Activity.

Analyze document settings (see above) can overrule this setting.

To enable or disable this option:

  • True/Checked – If you want to explicitly change a document's properties, using the Document Properties section.
  • False/Unchecked – Keep the document's existing properties. (default)

Use NULL values

Indicate what SmartBridge should do with an empty value (or 'null') in the document properties settings.

To enable or disable this option:

  • True/Checked – Empty all document properties that contain a 'null' value.
  • False/Unchecked – Do not change document properties that are empty or a value of 'null'. (default)

Enqueue for grouping

Specify whether the document should be grouped before sending, or not.

  • Only use for EDIFACT documents.
  • This setting might be overruled by other settings. Two common settings that overrule:
    • Other activities that are executed later in the Workflow.
    • Settings of the Distribution Channel that will send out the document.

Select an option from the dropdown:

  • Preserve – Use whatever is configured elsewhere. (default)
  • No Grouping – Send this document without grouping.
  • Group – Group the document before sending.

Document properties

Use these properties to change the properties of a document.

 

Option

What is it

How to use it

Document format

Assign a different document format to the document, which replaces the current value.

Enter a document format.
Examples: EDIFACT, XML, PDF, etc...

Document type

Assign a different document type to the document, which replaces the current value.

Enter a document type.
Examples: ORDERS, Invoice, etc...

Document subtype

Assign a different document subtype to the document, which replaces the current value.

Enter a document subtype.
Examples: D96A, Internal, etc...

Sender short name

Assign a different sender to the document, which replaces the current value.

Use the selectbox to select one of the partners known to the system.

Recipient short name

Assign a different recipient to the document, which replaces the current value.

Use the selectbox to select one of the partners known to the system.

Processing priority

Specify the processing priority to be assigned to the document.

Enter an integer.

  • Highest priority: 0
  • Lowest priority: 9999

Communication subject

Option to indicate the subject of the communication.

 Click here to expand...

You can regard this option as generic metadata for any kind of communication. The most common option is subject information used in SMTP or SMI ('subject line'). However, you could also send subject information over FTP(S), which is used for navigating directories (where the subject is reflected in the directory names).

Enter a value.

Test indicator

Specifies if the document is a test document. This can be used later in the Distribution Channel selection, or in the selection of a new Process if requested so in the Workflow.

  • False/Unchecked - Regular document.
  • True/Checked - Test document.
  • Preserve -

Content grouping parameter

Define an extra value that can be used in the grouping process. This only applies to EDIFACT documents.

 Click here to expand...

In case you indicated that documents should be grouped, SmartBridge will, by default, group documents per recipient.

In some cases you might need more granular grouping, such as: Group all orders for the same recipient. This requires you to set a content grouping parameter, to indicate what additional property you will use for grouping documents.

Use a Macro to indicate which additional property should be used for grouping documents.

 Supports dynamic values from Macros »

Instead of using static values you can also use dynamic values.

With so called Macros you can have SmartBridge dynamically replace (part of) the value with properties extracted from a document (e.g. recipient), or with system settings (e.g. date). See the Macros for Workflows for more details and examples.

Analyzer Options


Option

What is it

How to use it

Preserve existing values

"Do you want to complement or overwrite existing values?"

 Read more

Sometimes a document might be carrying a couple of document property values resulting from an analysis at an earlier moment. A secondary analysis might find additional property values.

If you want to add values to additional properties that were previously empty while preserving existing values, then set to true. If you only care about new property values and do not care about values from an earlier analysis, set to false.

Document Format will always be overwritten.

Indicate your choice:

  • True/Checked - If values are known from a previous analysis, keep them, and add values for properties that have no value, yet.
  • False/Unchecked - If values are known from a previous analysis, overwrite them with new values. (default).

Do not clear values

"Do you want to keep known values or overwrite them, even when it results in empty values?"

 Read more

Sometimes a document might be carrying a couple of document property values resulting from an analysis at an earlier moment. A secondary analysis might find that some of those properties are empty.

If you want keep the properties that previously had values, then set to true. If you only care about new property values and do not care about values from an earlier analysis, then set to false.

Indicate your choice:

  • True/Checked - If values are known from a previous analysis, keep them.
  • False/Unchecked - If values are known from a previous analysis, overwrite them, even when it will result in properties without values (default).

Use Inhouse analyzer

Specifies whether the Workflow should analyze Inhouse documents (using Inhouse document structures), or skip it.

Indicate which of the two applies:

  • True/checked - Analyze Inhouse documents (default).
  • False/unchecked - Skip analyzing Inhouse formats.

Use flat file analyzer

Specifies whether the Workflow should analyze flat files (using Flat file document structures), or skip it.

Indicate which of the two applies:

  • True/checked - Analyze ASCII documents (default).
  • False/unchecked - Skip analyzing ASCII formats.

Use EDI analyzer

Specifies whether the Workflow should analyze EDI files, or skip it. This applies to these EDI formats: EDIFACT, ANSI X12, TRADACOMS or GENCOD.

Indicate which of the two applies:

  • True/checked - Analyze EDIFACT, ANSI X12, TRADACOMS or GENCOD document structures (default).
  • False/unchecked - Ignore EDIFACT, ANSI X12, TRADACOMS or GENCOD document structures during document analysis.

Use XML analyzer

Specifies whether the Workflow should analyze XML files, or skip it.

When turned off, no XML document structures will be used during the analyzing process.

Indicate which of the two applies:

  • True/checked - Analyze XML files (default).
  • False/unchecked - Do not analyze XML formats.
Recognize PDFSpecifies whether the Workflow should analyze PDF files, or skip it.

Indicate which of the two applies:

  • True/checked - Analyze PDF files (default).
  • False/unchecked - Do not analyze PDF formats.
Recognize ExcelSpecifies whether the Workflow should analyze Excel files, or skip it.

Indicate which of the two applies:

  • True/checked - Analyze Excel files (default).
  • False/unchecked - Do not analyze Excel files.

Document identification

In case you use the Clone Activity, SmartBridge will use this property to identify cloned documents.

Option

What is it

How to use it

Document Key

Only relevant for Workflows that contain a CloneDocument Activity.

The key of the cloned document to be used for processing.

 Click here to expand...

When creating a clone of the document (using the CloneDocument activity) you need to specify whether SmartBridge should process the clone or the original. When you have specified a Document Key, SmartBridge will assign the Document Key to cloned documents. With the Document Key assigned to cloned documents, you will be able to refer to the clones for further processing.

  • Leave empty if the activity should process the original document (default).
  • Enter or assign the Clone Document Key if the activity should process a clone document.

Recommended: Leave empty when you are not using a Clone Activity.

In SmartBridge 3 this option is replaced with 'Input Options'.

 


On this page