Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Action name

GetNewestActiveWorkflowInstanceForSubscription

Class name

com.cdrator.workflow.action.GetNewestActiveWorkflowInstanceForSubscription

Available from core version

8.7

Description

Return, if any, the newest active workflow instance that belongs to a workflow definition with a key similar to the provided pattern key.

Return value

WfWorkflow: The newest active workflow instance that belongs to a workflow definition with a key similar to the provided pattern key

Properties

  1. workflowDefinitionKey: The pattern key of the workflow definition for the workflow instance to be searched. All workflow definition keys that match the pattern will be used to search for the workflow instance.

Parameters

  1. Subscription: subscription

Workflow - Context

GetObjectFromContextOrDefault

Action name

GetObjectFromContextOrDefault

Class name

com.cdrator.workflow.context.action.GetObjectFromContextOrDefault

Available from core version

8.7

Description

Checks if the object is in the context if so return it else return default object (don't use null for default object)

Return value

Object: Object with objectKey from context or default object

Properties

 

Parameters

  1. WfContext: context
  2. String: objectKey
  3. Object: defaultObject

IsOptionalStringContextObjectEqualToValue

...

Action name

GetOptionsPricesElementsForProductAndRatePlanAsContext

Class name

com.cdrator.product.option.action.GetOptionsPricesElementsForProductAndRatePlanAsContext

Available from core version

8.7

Description

Returns all the Option Price Elements available at sign-up for a given rate plan and price planproduct.

Return value

List: A list of option price elements.

Properties

  1. ignoreCache: Set to true if the cache should be ignored and option loaded every time.
  2. signUpOnly: Only get the sign-up options.

Parameters

  1. RatePlan: ratePlan
  2. Product: product

...