Workflow Definition
The new wfin26bulkmodelpublisherv1.xml workflow definition is created in the TIBCO Product and Service Catalog to publish the PRODUCT, CUSTOMER, SEGMENT, PLANFRAGMENT, DISCOUNT, PRICE, RULE, ACTION, and CATEGORY models. The workflow is invoked for the full publish and also for the delta publish. The workflow executes the standard EvaluateSubset activity and returns the record list.
Based on the repository name, the
Process<reponame>SubsetData
activity processes the record list and publishes the data model according to the channel name configured in the workflow. The channel name can be JMS, FILE, or BOTH.
Where: the reponame
is the actual repository name for the data model, for example, PRODUCT, PARTY (CUSTOMER), SEGMENT, PLANFRAGMENT, DISCOUNT, PRICE, RULE, ACTION, and CATEGORY.
When the data model is published on the JMS and BOTH channels, the pending message count on the corresponding queues is checked by TIBCO Product and Service Catalog. Until the messages on the queues are completely consumed, the Publish event keeps running in the background. This event does not apply to the SEGMENT and PARTY data models.
The following table lists the custom activity parameters and their description.
Activity : ProcessProductSubsetData | |
---|---|
Parameter | Description |
InRecordList | Record list received from the EvaluateSubset activity. |
recordCount | Record processed by the EvaluateSubset activity. |
ProductModelMap | Product model XSL file location. |
ProductModelBatchSize | Complete product model published in batch based on the specified batch size. |
ProductModelCatName | Logical topic name mapped to the actual topic name in the ConfigValues.xml file. |
connShareMode | Connection share mode value to connect to the TIBCO Enterprise Message Service server. |
transacted | Boolean value. |
MasterCatalog | Based on this parameter, creates the model for product, customer, or segment. |
RelationshipName# | Refers to the relationship name. |
publishAction | Refers to the parameter value related to header action such as Bulk (for bulk model). |
Channel |
Valid value is either JMS, FILE, or BOTH. JMS is used for the Online catalog publication and FILE is used for the Offline Catalog publication. For more information on the Offline Catalog, see Customization of Publish Catalog Workflow. When you set BOTH, the data is published and the files are created at the same time. |
Metadata Required
|
This parameter should be commented if the publish model is triggered through a process and not through UI. |
folderLocation | Actual file location.
Note: This is applicable when
FILE or
BOTH value is used for the
Channel parameter.
|
logRawModel | A boolean flag to log raw product model into the
elink.log file. Raw model XML is generated by process activity before applying stylesheet.
Note: Value should be set to
false , if model is configured for a large number of relationships (for instance,
ProductComprisedOf ) to avoid out-of-memory error.
|
TypeOfPublish | Refers to the publish type. It can be full publish or delta publish. |
Tenant | Refers to the TenantId in the header of the published model. By default, the "enterprise name" appears as the TenantId in the published model. It is not recommended to directly assign the value for this parameter in the workflow as it affects all Model Publish activities for the enterprise. |
Activity: ProcessCustomerSubsetData | |
---|---|
Parameter | Description |
InRecordList | Record list received from the EvaluateSubset activity. |
recordCount | Record processed by the EvaluateSubset activity. |
CustomerModelMap | Customer model XSL file location. |
CustomerModelBatchSize | Complete customer model published in batch based on the specified batch size. |
CustomerModelCatName | Logical topic name mapped to the actual topic name in the ConfigValues.xml file. |
connShareMode | Connection share mode value to connect to the TIBCO Enterprise Message Service server. |
transacted | Boolean value. |
MasterCatalog | Based on this parameter, creates the model for product, customer, or segment. |
RelationshipName# | Refers to the relationship name. |
publishAction | Refers to the parameter value related to header action such as Bulk (for bulk model). |
Channel | Valid value is either JMS, FILE, or BOTH. JMS is used for the Online catalog publication and FILE is used for the Offline Catalog publication. For more information on the Offline Catalog, see Customization of Publish Catalog Workflow. When you set BOTH, the data is published and the files are created at the same time. |
Metadata Required
|
This parameter should be commented if the publish model is triggered through a process and not through UI. |
folderLocation | Actual file location.
Note: This is applicable when
FILE or
BOTH value is used for the
Channel parameter.
|
logRawModel | A boolean flag to log raw customer model into the
elink.log file. Raw model XML is generated by process activity before applying stylesheet.
Note: Value should be set to
false , if model is configured for a large number of relationships (for instance,
ProductComprisedOf ) to avoid out-of-memory error.
|
TypeOfPublish | Refers to the publish type. It can be full publish or delta publish. |
Tenant | Refers to the TenantId in the header of the published model. By default, the "enterprise name" appears as the TenantId in the published model. It is not recommended to directly assign the value for this parameter in the workflow as it affects all Model Publish activities for the enterprise. |
Activity: ProcessSegmentSubsetData | |
---|---|
Parameter | Description |
InRecordList | Record list received from the EvaluateSubset activity. |
recordCount | Record processed by the EvaluateSubset activity. |
SegmentModelMap | Segment model XSL file location. |
SegmentModelBatchSize | Complete segment model published in batch based on the specified batch size. |
SegmentModelCatName | Logical topic name mapped to the actual topic name in the ConfigValues.xml file. |
connShareMode | Connection share mode value to connect to the TIBCO Enterprise Message Service server. |
transacted | Boolean value. |
MasterCatalog | Based on this parameter, creates the model for product, customer, or segment. |
publishAction | Refers to the parameter value related to header action such as Bulk (for bulk model). |
Channel | Valid value is either JMS, FILE, or BOTH. JMS is used for the Online catalog publication and FILE is used for the Offline Catalog publication. For more information on the Offline Catalog, see Customization of Publish Catalog Workflow. When you set BOTH, the data is published and the files are created at the same time. |
Metadata Required
|
This parameter should be commented if the publish model is triggered through a process and not through UI. |
folderLocation | Actual file location.
Note: This is applicable when
FILE or
BOTH value is used for the
Channel parameter.
|
logRawModel | A boolean flag to log raw segment model into
elink.log . Raw model XML is generated by process activity before applying stylesheet.
Note: Value should be set to
false , if model is configured for a large number of relationships (for instance,
ProductComprisedOf ) to avoid out-of-memory error.
|
TypeOfPublish | Refers to the publish type. It can be full publish or delta publish. |
Tenant | Refers to the TenantId in the header of the published model. By default, the "enterprise name" appears as the TenantId in the published model. It is not recommended to directly assign the value for this parameter in the workflow as it affects all Model Publish activities for the enterprise. |
Activity: ProcessPlanFragmentSubsetData | |
---|---|
Parameter | Description |
InRecordList | Record list received from the EvaluateSubset activity. |
recordCount | Record processed by the EvaluateSubset activity. |
PlanFragmentModelMap | Plan Fragment model XSL file location. |
PlanFragmentModelBatchSize | Complete planfragment model published in batch based on the specified batch size. |
PlanFragmentModelCatName | Logical topic name mapped to the actual topic name in the ConfigValues.xml file. |
connShareMode | Connection share mode value to connect to the TIBCO Enterprise Message Service server. |
transacted | Boolean value. |
publishAction | Refers to the parameter value related to header action such as Bulk (for bulk model). |
Channel | Valid value is either JMS, FILE, or BOTH. JMS is used for the Online catalog publication and FILE is used for the Offline Catalog publication. For more information on the Offline Catalog, see Customization of Publish Catalog Workflow. When you set BOTH, the data is published and the files are created at the same time. |
Metadata Required
|
This parameter should be commented if the publish model is triggered through a process and not through UI. |
folderLocation | Actual file location.
Note: This is applicable when
FILE or
BOTH value is used for the
Channel parameter.
|
logRawModel | A boolean flag to log raw plan fragment model into the
elink.log file. Raw model XML is generated by process activity before applying stylesheet.
Note: Value should be set to
false , if model is configured for a large number of relationships (for instance,
ProductComprisedOf ) to avoid out-of-memory error.
|
TypeOfPublish | Refers to the publish type. It can be full publish or delta publish. |
Tenant | Refers to the TenantId in the header of the published model. By default, the "enterprise name" appears as the TenantId in the published model. It is not recommended to directly assign the value for this parameter in the workflow as it affects all Model Publish activities for the enterprise. |
Activity: ProcessActionSubsetData | |
---|---|
Parameter | Description |
InRecordList | Record list received from the EvaluateSubset activity. |
recordCount | Record processed by the EvaluateSubset activity. |
ActionModelMap | Action model XSL file location. |
ActionModelBatchSize | Complete Action model published in batch based on the specified batch size. |
ActionModelCatName | Logical topic name mapped to the actual topic name in the ConfigValues.xml file. |
connShareMode | Connection share mode value to connect to the TIBCO Enterprise Message Service server. |
transacted | Boolean value. |
publishAction | Refers to the parameter value related to header action such as Bulk (for bulk model). |
Channel | Valid value is either
JMS ,
FILE , or
BOTH .
JMS is used for the Online catalog publication and
FILE is used for the Offline Catalog publication. For more information on the Offline Catalog, see
Customization of Publish Catalog Workflow. When you set
BOTH , the data is published and the files are created at the same time.
|
Metadata Required
|
This parameter should be commented if the publish model is triggered through a process and not through UI. |
folderLocation | Actual file location.
Note: This is applicable when
FILE or
BOTH value is used for the
Channel parameter.
|
logRawModel | A boolean flag to log raw Action model into the
elink.log file. Raw model XML is generated by process activity before applying stylesheet.
Note: Value must be set to
false , if model is configured for a large number of relationships (for instance,
ProductComprisedOf ) to avoid out-of-memory error.
|
TypeOfPublish | Refers to the publish type. It can be full publish or delta publish. |
Tenant | Refers to the TenantId in the header of the published model. By default, the "enterprise name" appears as the TenantId in the published model. It is not recommended to directly assign the value for this parameter in the workflow as it affects all Model Publish activities for the enterprise. |
Activity: ProcessPriceSubsetData | |
---|---|
Parameter | Description |
InRecordList
|
Record list received from the
EvaluateSubset activity.
|
recordCount
|
Record processed by the
EvaluateSubset activity.
|
PriceModelMap
|
Price model XSL file location. |
PriceModelBatchSize
|
Complete Price model published in batch based on the specified batch size. |
PriceModelCatName
|
Logical topic name mapped to the actual topic name in the ConfigValues.xml file. |
connShareMode
|
Connection share mode value to connect to the TIBCO Enterprise Message Service server. |
transacted
|
Boolean value. |
publishAction
|
Refers to the parameter value related to header action such as Bulk (for bulk model). |
Channel
|
Valid value is either
JMS ,
FILE , or
BOTH .
JMS is used for the Online catalog publication and
FILE is used for the Offline Catalog publication. For more information on the Offline Catalog, see
Customization of Publish Catalog Workflow. When you set
BOTH , the data is published and the files are created at the same time.
|
MetadataRequired
|
This parameter should be commented if the publish model is triggered through a process and not through UI. |
folderLocation
|
Temporary folder location. This is applicable when
FILE or
BOTH value is used for the Channel parameter.
|
logRawModel
|
A boolean flag to log raw Action model into the
elink.log file. Raw model XML is generated by process activity before applying stylesheet.
Note: Value must be set to false, if model is configured for a large number of relationships (for instance,
ProductComprisedOf ) to avoid out-of-memory error.
|
TypeOfPublish | Refers to the publish type. It can be full publish or delta publish. |
Tenant | Refers to the TenantId in the header of the published model. By default, the "enterprise name" appears as the TenantId in the published model. It is not recommended to directly assign the value for this parameter in the workflow as it affects all Model Publish activities for the enterprise. |
Activity: ProcessDiscountSubsetData | |
---|---|
Parameter | Description |
InRecordList
|
Record list received from the
EvaluateSubset activity.
|
recordCount
|
Record processed by the
EvaluateSubset activity.
|
DiscountModelMap
|
Discount model XSL file location. |
DisModelBatchSize
|
Complete Discount model published in batch based on the specified batch size. |
DiscountModelCatName
|
Logical topic name mapped to the actual topic name in the ConfigValues.xml file. |
connShareMode
|
Connection share mode value to connect to the TIBCO Enterprise Message Service server. |
transacted
|
Boolean value. |
publishAction
|
Refers to the parameter value related to header action such as Bulk (for bulk model). |
Channel
|
Valid value is either
JMS ,
FILE , or
BOTH .
JMS is used for the Online catalog publication and
FILE is used for the Offline Catalog publication. For more information on the Offline Catalog, see
Customization of Publish Catalog Workflow. When you set
BOTH , the data is published and the files are created at the same time.
|
MetadataRequired
|
This parameter should be commented if the publish model is triggered through a process and not through UI. |
folderLocation
|
Temporary folder location. This is applicable when
FILE or
BOTH value is used for the Channel parameter.
|
logRawModel
|
A boolean flag to log raw Action model into the
elink.log file. Raw model XML is generated by process activity before applying stylesheet.
Note: Value must be set to false, if model is configured for a large number of relationships (for instance,
ProductComprisedOf ) to avoid out-of-memory error.
|
TypeOfPublish | Refers to the publish type. It can be full publish or delta publish. |
Tenant | Refers to the TenantId in the header of the published model. By default, the "enterprise name" appears as the TenantId in the published model. It is not recommended to directly assign the value for this parameter in the workflow as it affects all Model Publish activities for the enterprise. |
Activity: ProcessRuleSubsetData | |
---|---|
Parameter | Description |
InRecordList
|
Record list received from the
EvaluateSubset activity.
|
recordCount
|
Record processed by the
EvaluateSubset activity.
|
RuleModelMap
|
Rule model XSL file location. |
RuleModelBatchSize
|
Complete Rule model published in batch based on the specified batch size. |
RuleModelCatName
|
Logical topic name mapped to the actual topic name in the ConfigValues.xml file. |
connShareMode
|
Connection share mode value to connect to the TIBCO Enterprise Message Service server. |
transacted
|
Boolean value. |
publishAction
|
Refers to the parameter value related to header action such as Bulk (for bulk model). |
Channel
|
Valid value is either
JMS ,
FILE , or
BOTH .
JMS is used for the Online catalog publication and
FILE is used for the Offline Catalog publication. For more information on the Offline Catalog, see
Customization of Publish Catalog Workflow. When you set
BOTH , the data is published and the files are created at the same time.
|
MetadataRequired
|
This parameter should be commented if the publish model is triggered through a process and not through UI. |
folderLocation
|
Temporary folder location. This is applicable when
FILE or
BOTH value is used for the Channel parameter.
|
logRawModel
|
A boolean flag to log a raw Rule model into the
elink.log file. Raw model XML is generated by process activity before applying stylesheet.
Note: Value must be set to false, if the model is configured for a large number of relationships (for instance,
ProductComprisedOf ) to avoid out-of-memory error.
|
TypeOfPublish | Refers to the publish type. It can be full publish or delta publish. |
Tenant | Refers to the TenantId in the header of the published model. By default, the "enterprise name" appears as the TenantId in the published model. It is not recommended to directly assign the value for this parameter in the workflow as it affects all Model Publish activities for the enterprise. |
Activity: ProcessCategorySubsetData | |
---|---|
Parameter | Description |
InRecordList
|
Record list received from the
EvaluateSubset activity.
|
recordCount
|
Record processed by the
EvaluateSubset activity.
|
CategoryModelMap
|
Category model XSL file location. |
CategoryModelBatchSize
|
Complete Category model published in batch based on the specified batch size. |
CategoryModelCatName
|
Logical topic name mapped to the actual topic name in the ConfigValues.xml file. |
connShareMode
|
Connection share mode value to connect to the TIBCO Enterprise Message Service server. |
transacted
|
Boolean value. |
publishAction
|
Refers to the parameter value related to header action such as Bulk (for bulk model). |
Channel
|
Valid value is either
JMS ,
FILE , or
BOTH .
JMS is used for the Online catalog publication and
FILE is used for the Offline Catalog publication. For more information on the Offline Catalog, see
Customization of Publish Catalog Workflow. When you set
BOTH , the data is published and the files are created at the same time.
|
MetadataRequired
|
This parameter should be commented if the publish model is triggered through a process and not through UI. |
folderLocation
|
Temporary folder location. This is applicable when
FILE or
BOTH value is used for the Channel parameter.
|
logRawModel
|
A boolean flag to log raw Category model into the
elink.log file. Raw model XML is generated by process activity before applying stylesheet.
Note: Value must be set to false, if model is configured for a large number of relationships (for instance,
ProductComprisedOf ) to avoid out-of-memory error.
|
TypeOfPublish | Refers to the publish type. It can be full publish or delta publish. |
Tenant | Refers to the TenantId in the header of the published model. By default, the "enterprise name" appears as the TenantId in the published model. It is not recommended to directly assign the value for this parameter in the workflow as it affects all Model Publish activities for the enterprise. |
Activity: CheckonQueueMessage | |
---|---|
Parameter | Description |
WaitTimeinMilliSeconds
|
The number of times that the messages on the queue are verified. This parameter is helpful to verify the pending messages in the queue. |
FOMProductModelQueue
|
Queue for the ProductModel |
FOMPlanfragmentModelQueue
|
Queue for the PlanfragmentModel |
FOMPriceModelQueue
|
Queue for the PriceModel |
FOMDIscountModelQueue
|
Queue for the DIscountModel |
FOMActionModelQueue
|
Queue for the ActionModel |
FOMRuleModelQueue
|
Queue for the RuleModel |
FOMCategoryModelQueue
|
Queue for the CategoryModel |