Skip to content

Conversation

@janis-veinbergs
Copy link

@janis-veinbergs janis-veinbergs commented Mar 31, 2023

Solves #223

Adds such logging information:

...
Background workflow 'Some workflow name 1' completed successfully
Starting Background workflow: 'Some workflow name 2' for entity 'entity'. timeOffset: 00:00:00
Entering ActivityList. Activities Count: 32 VariableNames: 
Entering ActivityList
Entering CreateVariable. VariableName: ConditionBranchStep2_condition
Entering CreateVariable. VariableName: ConditionBranchStep2_1
Entering CreateVariable. VariableName: ConditionBranchStep2_5
Entering GetEntityProperty. Attribute: statuscode EntityId: InputEntities("primaryEntity") EntityLogicalName: entity....
Entering ActivityList. Activities Count: 6 VariableNames: 
Entering ActivityList
Entering Skip
Entering CreateVariable. VariableName: stepLabelLabelId
Entering CreateVariable. VariableName: stepLabelDescription
Entering CreateVariable. VariableName: stepLabelLanguageCode
Entering CreateVariable. VariableName: StopWorkflowStep3_1
Entering TerminateWorkflow. Status: TerminateWorkflow MessageId: Succeeded
Entering CreateVariable. VariableName: CustomActivityStep4_1
Entering ConvertType. Input: CustomActivityStep4_1, Type: String, Result: CustomActivityStep4_1_converted
Entering CreateVariable. VariableName: CustomActivityStep4_2
Entering ConvertType. Input: CustomActivityStep4_2, Type: Boolean, Result: CustomActivityStep4_2_converted
Entering CallCodeActivity. CodeActivityName: GetPostEntityImageValue
Exception thrown: 'System.Collections.Generic.KeyNotFoundException' in mscorlib.dll
An exception of type 'System.Collections.Generic.KeyNotFoundException' occurred in mscorlib.dll but was not handled in user code
The given key was not present in the dictionary.

Traces workflow name which is being executed and which steps have been taken. It is much easyer to find at which step workflow failed/exception has been thrown.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant