File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ const handleHivemindWebsiteCase = async (platform: any) => {
140140 * @param {Object } platform - Platform object
141141 */
142142const handleHivemindMediaWikiCase = async ( platform : any ) => {
143+ console . log ( 'Handling Hivemind MediaWiki case for platform:' , platform ) ;
143144 const platformDoc = await platformService . getPlatformById ( platform . platform ) ;
144145
145146 if ( ! platformDoc ) return ;
@@ -148,8 +149,11 @@ const handleHivemindMediaWikiCase = async (platform: any) => {
148149 const existingWorkflowId = platformDoc . get ( 'metadata.workflowId' ) ;
149150
150151 if ( isActivated === true ) {
152+ console . log ( 'Platform is activated, checking for existing workflow ID:' , existingWorkflowId ) ;
151153 if ( ! existingWorkflowId ) {
154+ console . log ( 'No existing workflow ID found, executing new workflow for platform:' , platform . platform ) ;
152155 const workflowId = await temporalMediaWiki . executeWorkflow ( platform . platform ) ;
156+ console . log ( 'New workflow ID created:' , workflowId ) ;
153157 platformDoc . set ( 'metadata.workflowId' , workflowId ) ;
154158 await platformDoc . save ( ) ;
155159 }
You can’t perform that action at this time.
0 commit comments