Processing trigger event for message ID 182578a1c6ec3000: OrgId=262, SourceModuleId=79, SourceRecordId=223, Event=record_updated


Found 1 active trigger config(s) for message ID 182578a1c6ec3000


Processing Config 2 for message ID 182578a1c6ec3000


Config 2: no transition matched. From=267, To=12


Config 2: status transition not matched.


Config 2: conditions not met. Logged as skipped.


Completed processing trigger event for message ID 182578a1c6ec3000


Processing trigger event for message ID 18259353ffac3000: OrgId=262, SourceModuleId=121, SourceRecordId=12, Event=record_updated


Found 1 active trigger config(s) for message ID 18259353ffac3000


Processing Config 21 for message ID 18259353ffac3000


Config 21: transition matched. From=null, To=318


Config 21: conditions met. Proceeding with target record creation for TargetModuleId=6


[VisitorUser] Starting user creation for OrgId=262


[VisitorUser] Linked user 21644 to company 1869.


[VisitorUser] User 21644 created for OrgId=262, SiteId=881 with ACM roles [604].


[VisitorUser] Enrolled user 21644 in 1 default batch(es).


[VisitorUser] Back-fill visitor_management.visitor_user_id: visitorId=12 userId=21644 rowsAffected=1


Config 21: execution completed. TargetRecordId=21644, Status=success


Completed processing trigger event for message ID 18259353ffac3000


Processing trigger event for message ID 182594abd1ac3000: OrgId=262, SourceModuleId=121, SourceRecordId=12, Event=record_updated


Found 1 active trigger config(s) for message ID 182594abd1ac3000


Processing Config 21 for message ID 182594abd1ac3000


Config 21: already executed for SourceRecordId=12. Skipping.


Completed processing trigger event for message ID 182594abd1ac3000


Starting Module Trigger Engine NSQ consumer


Module Trigger Engine consumer started on topic=module.trigger.engine.stg, channel=module-trigger-engine


Processing trigger event for message ID 18259b97966c3000: OrgId=262, SourceModuleId=121, SourceRecordId=13, Event=record_updated


Found 1 active trigger config(s) for message ID 18259b97966c3000


Processing Config 21 for message ID 18259b97966c3000


Config 21: transition matched. From=null, To=318


Config 21: conditions met. Proceeding with target record creation for TargetModuleId=6


[VisitorUser] Starting user creation for OrgId=262


[VisitorUser] Linked user 21645 to company 1869.


[VisitorUser] User 21645 created for OrgId=262, SiteId=881 with ACM roles [604].


[VisitorUser] Enrolled user 21645 in 1 default batch(es).


[VisitorUser] Back-fill visitor_management.visitor_user_id: visitorId=13 userId=21645 rowsAffected=1


Config 21: execution completed. TargetRecordId=21645, Status=success


Completed processing trigger event for message ID 18259b97966c3000


Processing trigger event for message ID 18259edbf32c3000: OrgId=262, SourceModuleId=121, SourceRecordId=14, Event=record_updated


Found 1 active trigger config(s) for message ID 18259edbf32c3000


Processing Config 21 for message ID 18259edbf32c3000


[VisitorUser] Unexpected error for OrgId=262

MySql.Data.MySqlClient.MySqlException (0x80004005): Data too long for column 'country_code' at row 1
   at MySql.Data.MySqlClient.MySqlStream.CheckForServerError()
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32 affectedRow, Int64 insertedId)
   at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32 affectedRows, Int64 insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult(CancellationToken cancellationToken)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior, CancellationToken cancellationToken)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar(CancellationToken cancellationToken)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()
   at Dapper.SqlMapper.ExecuteScalarImpl[T](IDbConnection cnn, CommandDefinition& command) in C:\projects\dapper\Dapper\SqlMapper.cs:line 2855
   at Dapper.SqlMapper.ExecuteScalar(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in C:\projects\dapper\Dapper\SqlMapper.cs:line 467
   at IncidentReporter.DAL.Repositories.UsersRepo.InsertAllTypeUser(UserDBO userDetails) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\UsersRepo.cs:line 799
   at OQSHA.ModuleTriggerEngine.Services.VisitorUserCreationService.CreateRecordAsync(Int32 orgId, Int32 targetModuleId, Nullable`1 targetModuleTypeId, Int32 createdByUserId, Dictionary`2 resolvedFields) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\OQSHA.ModuleTriggerEngine\Services\VisitorUserCreationService.cs:line 150


Config 21: execution completed. TargetRecordId=null, Status=failed


Completed processing trigger event for message ID 18259edbf32c3000


Processing trigger event for message ID 18259f3091ac3000: OrgId=262, SourceModuleId=121, SourceRecordId=15, Event=record_updated


Found 1 active trigger config(s) for message ID 18259f3091ac3000


Processing Config 21 for message ID 18259f3091ac3000


Config 21: transition matched. From=null, To=318


Config 21: conditions met. Proceeding with target record creation for TargetModuleId=6


[VisitorUser] Starting user creation for OrgId=262


Completed processing trigger event for message ID 18259f3091ac3000


Processing trigger event for message ID 1825aa2b86ac3000: OrgId=262, SourceModuleId=121, SourceRecordId=16, Event=record_updated


Found 1 active trigger config(s) for message ID 1825aa2b86ac3000


Processing Config 21 for message ID 1825aa2b86ac3000


Completed processing trigger event for message ID 1825aa2b86ac3000


Starting Module Trigger Engine NSQ consumer


Module Trigger Engine consumer started on topic=module.trigger.engine.stg, channel=module-trigger-engine


Processing trigger event for message ID 1825ae6fcaac3000: OrgId=262, SourceModuleId=121, SourceRecordId=17, Event=record_updated


Found 1 active trigger config(s) for message ID 1825ae6fcaac3000


Processing Config 21 for message ID 1825ae6fcaac3000


[VisitorUser] Linked user 21646 to company 1869.


[VisitorUser] User 21646 created for OrgId=262, SiteId=881 with ACM roles [604].


[VisitorUser] Enrolled user 21646 in 1 default batch(es).


[VisitorUser] Back-fill visitor_management.visitor_user_id: visitorId=17 userId=21646 rowsAffected=1


Config 21: execution completed. TargetRecordId=21646, Status=success


Completed processing trigger event for message ID 1825ae6fcaac3000


Processing trigger event for message ID 1825aeb312ec3000: OrgId=262, SourceModuleId=121, SourceRecordId=17, Event=record_updated


Found 1 active trigger config(s) for message ID 1825aeb312ec3000


Processing Config 21 for message ID 1825aeb312ec3000


Config 21: already executed for SourceRecordId=17. Skipping.


Completed processing trigger event for message ID 1825aeb312ec3000


Processing trigger event for message ID 1825b8cdf5ac3000: OrgId=262, SourceModuleId=121, SourceRecordId=18, Event=record_updated


Found 1 active trigger config(s) for message ID 1825b8cdf5ac3000


Processing Config 21 for message ID 1825b8cdf5ac3000


Config 21: transition matched. From=null, To=318


Config 21: conditions met. Proceeding with target record creation for TargetModuleId=6


[VisitorUser] Starting user creation for OrgId=262


[VisitorUser] Linked user 21647 to company 1869.


[VisitorUser] User 21647 created for OrgId=262, SiteId=881 with ACM roles [604].


[VisitorUser] Enrolled user 21647 in 1 default batch(es).


[VisitorUser] Back-fill visitor_management.visitor_user_id: visitorId=18 userId=21647 rowsAffected=1


Config 21: execution completed. TargetRecordId=21647, Status=success


Completed processing trigger event for message ID 1825b8cdf5ac3000


Processing trigger event for message ID 1825b901a56c3000: OrgId=262, SourceModuleId=121, SourceRecordId=18, Event=record_updated


Found 1 active trigger config(s) for message ID 1825b901a56c3000


Processing Config 21 for message ID 1825b901a56c3000


Config 21: already executed for SourceRecordId=18. Skipping.


Completed processing trigger event for message ID 1825b901a56c3000


Starting Module Trigger Engine NSQ consumer


Module Trigger Engine consumer started on topic=module.trigger.engine.stg, channel=module-trigger-engine


Processing trigger event for message ID 1825c6fb5fec3000: OrgId=262, SourceModuleId=121, SourceRecordId=19, Event=record_updated


Found 1 active trigger config(s) for message ID 1825c6fb5fec3000


Processing Config 21 for message ID 1825c6fb5fec3000


Config 21: transition matched. From=null, To=318


Config 21: conditions met. Proceeding with target record creation for TargetModuleId=6


[VisitorUser] Starting user creation for OrgId=262


[VisitorUser] Linked user 21651 to company 1869.


[VisitorUser] User 21651 created for OrgId=262, SiteId=881 with ACM roles [604].


[VisitorUser] Enrolled user 21651 in 1 default batch(es).


[VisitorUser] Back-fill visitor_management.visitor_user_id: visitorId=19 userId=21651 rowsAffected=1


Config 21: execution completed. TargetRecordId=21651, Status=success


Completed processing trigger event for message ID 1825c6fb5fec3000


Processing trigger event for message ID 1825c711c2ec3000: OrgId=262, SourceModuleId=79, SourceRecordId=227, Event=record_updated


Found 1 active trigger config(s) for message ID 1825c711c2ec3000


Processing Config 2 for message ID 1825c711c2ec3000


Config 2: no transition matched. From=267, To=12


Config 2: status transition not matched.


Config 2: conditions not met. Logged as skipped.


Completed processing trigger event for message ID 1825c711c2ec3000


Processing trigger event for message ID 1825c7f639ec3000: OrgId=262, SourceModuleId=121, SourceRecordId=19, Event=record_updated


Found 1 active trigger config(s) for message ID 1825c7f639ec3000


Processing Config 21 for message ID 1825c7f639ec3000


Config 21: already executed for SourceRecordId=19. Skipping.


Completed processing trigger event for message ID 1825c7f639ec3000


Processing trigger event for message ID 1825cc324c2c3000: OrgId=262, SourceModuleId=121, SourceRecordId=20, Event=record_updated


Found 1 active trigger config(s) for message ID 1825cc324c2c3000


Processing Config 21 for message ID 1825cc324c2c3000


Config 21: transition matched. From=null, To=318


Config 21: conditions met. Proceeding with target record creation for TargetModuleId=6


[VisitorUser] Starting user creation for OrgId=262


[VisitorUser] Linked user 21652 to company 1869.


[VisitorUser] User 21652 created for OrgId=262, SiteId=881 with ACM roles [604].


[VisitorUser] Enrolled user 21652 in 1 default batch(es).


[VisitorUser] Back-fill visitor_management.visitor_user_id: visitorId=20 userId=21652 rowsAffected=1


Config 21: execution completed. TargetRecordId=21652, Status=success


Completed processing trigger event for message ID 1825cc324c2c3000


Processing trigger event for message ID 1825cc9fa16c3000: OrgId=262, SourceModuleId=121, SourceRecordId=20, Event=record_updated


Found 1 active trigger config(s) for message ID 1825cc9fa16c3000


Processing Config 21 for message ID 1825cc9fa16c3000


Config 21: already executed for SourceRecordId=20. Skipping.


Completed processing trigger event for message ID 1825cc9fa16c3000


Starting Module Trigger Engine NSQ consumer


Module Trigger Engine consumer started on topic=module.trigger.engine.stg, channel=module-trigger-engine


Processing trigger event for message ID 1825fa25cd2c3000: OrgId=262, SourceModuleId=121, SourceRecordId=21, Event=record_updated


Found 1 active trigger config(s) for message ID 1825fa25cd2c3000


Processing Config 21 for message ID 1825fa25cd2c3000


Config 21: transition matched. From=null, To=318


Config 21: conditions met. Proceeding with target record creation for TargetModuleId=6


[VisitorUser] Starting user creation for OrgId=262


[VisitorUser] Linked user 21654 to company 1869.


[VisitorUser] User 21654 created for OrgId=262, SiteId=881 with ACM roles [604].


[VisitorUser] Enrolled user 21654 in 1 default batch(es).


[VisitorUser] Back-fill visitor_management.visitor_user_id: visitorId=21 userId=21654 rowsAffected=1


Config 21: execution completed. TargetRecordId=21654, Status=success


Completed processing trigger event for message ID 1825fa25cd2c3000


Processing trigger event for message ID 1825faf4c42c3000: OrgId=262, SourceModuleId=121, SourceRecordId=21, Event=record_updated


Found 1 active trigger config(s) for message ID 1825faf4c42c3000


Processing Config 21 for message ID 1825faf4c42c3000


Config 21: already executed for SourceRecordId=21. Skipping.


Completed processing trigger event for message ID 1825faf4c42c3000


Processing trigger event for message ID 1825fc554e6c3000: OrgId=262, SourceModuleId=121, SourceRecordId=21, Event=record_updated


Found 1 active trigger config(s) for message ID 1825fc554e6c3000


Processing Config 21 for message ID 1825fc554e6c3000


Completed processing trigger event for message ID 1825fc554e6c3000


Processing trigger event for message ID 182609e3916c3000: OrgId=262, SourceModuleId=121, SourceRecordId=22, Event=record_updated


Found 1 active trigger config(s) for message ID 182609e3916c3000


Processing Config 21 for message ID 182609e3916c3000


Config 21: transition matched. From=null, To=318


Config 21: conditions met. Proceeding with target record creation for TargetModuleId=6


[VisitorUser] Starting user creation for OrgId=262


[VisitorUser] Linked user 21655 to company 1869.


[VisitorUser] User 21655 created for OrgId=262, SiteId=881 with ACM roles [604].


[VisitorUser] Enrolled user 21655 in 1 default batch(es).


[VisitorUser] Back-fill visitor_management.visitor_user_id: visitorId=22 userId=21655 rowsAffected=1


Config 21: execution completed. TargetRecordId=21655, Status=success


Completed processing trigger event for message ID 182609e3916c3000


Processing trigger event for message ID 18260a1958ac3000: OrgId=262, SourceModuleId=121, SourceRecordId=22, Event=record_updated


Found 1 active trigger config(s) for message ID 18260a1958ac3000


Processing Config 21 for message ID 18260a1958ac3000


Config 21: already executed for SourceRecordId=22. Skipping.


Completed processing trigger event for message ID 18260a1958ac3000


Processing trigger event for message ID 18260a2276ac3000: OrgId=262, SourceModuleId=121, SourceRecordId=22, Event=record_updated


Found 1 active trigger config(s) for message ID 18260a2276ac3000


Processing Config 21 for message ID 18260a2276ac3000


Completed processing trigger event for message ID 18260a2276ac3000


Processing trigger event for message ID 18260a5c3fec3000: OrgId=262, SourceModuleId=121, SourceRecordId=23, Event=record_updated


Found 1 active trigger config(s) for message ID 18260a5c3fec3000


Processing Config 21 for message ID 18260a5c3fec3000


Config 21: transition matched. From=null, To=318


Config 21: conditions met. Proceeding with target record creation for TargetModuleId=6


[VisitorUser] Starting user creation for OrgId=262


[VisitorUser] Linked user 21656 to company 1869.


[VisitorUser] User 21656 created for OrgId=262, SiteId=881 with ACM roles [604].


[VisitorUser] Enrolled user 21656 in 1 default batch(es).


[VisitorUser] Back-fill visitor_management.visitor_user_id: visitorId=23 userId=21656 rowsAffected=1


Config 21: execution completed. TargetRecordId=21656, Status=success


Completed processing trigger event for message ID 18260a5c3fec3000


Processing trigger event for message ID 18260a80e1ac3000: OrgId=262, SourceModuleId=121, SourceRecordId=23, Event=record_updated


Found 1 active trigger config(s) for message ID 18260a80e1ac3000


Processing Config 21 for message ID 18260a80e1ac3000


Config 21: already executed for SourceRecordId=23. Skipping.


Completed processing trigger event for message ID 18260a80e1ac3000