cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Workflow Thingworx Trigger getting deleted automatically

TanmeyTWX
17-Peridot

Workflow Thingworx Trigger getting deleted automatically

Hi Folks,

 

I have a created a Workflow Thingworx Trigger and corresponding 2 subscriptions getting created for that Trigger.One will be "me" and other is Custom defined.

But whenever I'm trying to Export application build(including workflow) to another TWX server,one of the subscription getting deleted automatically.

Below is the scenario:

 

1. Two subscriptions created once a Thingworx Trigger is created in Workflow. One of them is "ME".

 

FlowTriggerIssue1.png

2. Whenever this Workflow migrates to another Thingworx composer,the Custom subscription gets deleted automatically. And I would have to edit or run the workflow trigger to generate it again.

FlowTriggerIssue2.PNG

Is there any kind of setting/configurations need to be taken care of or its a default behavior of TWX Workflows whenever there is a migration?

@paic @slangley @ttielebein 

 

 

 

 

 

7 REPLIES 7
slangley
23-Emerald II
(To:TanmeyTWX)

Hi @TanmeyTWX.

 

Which version of ThingWorx are you running?  Are you seeing any errors on either the export or import tasks?

 

If running on ThingWorx 8.5 or higher, have you considered using Solution Central for transferring to another machine?

 

Regards.

 

--Sharon

Hi Slangley,

 

I'm using TWX 8.5. There are no error pre and post Export.

 

I'm not using Solution Central but by bundling the application entities into an Extension and import it to other TWX server.

slangley
23-Emerald II
(To:slangley)

Hi @TanmeyTWX.

 

Can you provide specifics on your export/import process?   How are you bundling it into an extension?

 

Regards.

 

--Sharon

Hi Slangley,

 

I'm using GitHub extension builder.

 

Bundling all the project specific entities(including Workflow Thing) into an Extension (zip file)-->Import it to other Thingworx server.

 

Not getting any error while this process but after the import is successful,getting the above issue.

 

Steps to reproduce:

1. Open Thingworx Flow

2. Create a workflow

3. Add a Thingworx trigger in the workflow and add an event with a Datashape and Save.

4. Goto corresponding server composer

5. Goto Workflows (Thing) 

6. Goto Subscriptions 

7. You can see 2 entries.(one will be of type "me" and other will be Datashape based ,you defined  in step 3). I also want to understand,why 2 entries getting created for every trigger?

 

Now if you import it to other composer,the Datashape based event subscription gets deleted.

slangley
23-Emerald II
(To:slangley)

Hi @TanmeyTWX.

 

Instead of bundling the entities for import, please try to import them manually.  This should help to identify the cause of the problem.

 

Regards.

 

--Sharon

Hi,

 

But why its creating two subscriptions when a Thingworx Trigger with event is created in Flow?

Is it a default behavior to create 2 subscriptions for an event based Trigger?

gnandyala
13-Aquamarine
(To:TanmeyTWX)

Is the event triggered only on one DataShape. Or did yo0u create any other triggers in workflow.

 

Thank you,

Gautham

Top Tags