Design automation issue with activityId not found

Design automation issue with activityId not found

ryan_chesnut
Participant Participant
278 Views
1 Reply
Message 1 of 2

Design automation issue with activityId not found

ryan_chesnut
Participant
Participant

Following the steps to create a work item in design automation. Step 7 gives this error. 

Can someone confirm what the activity id should look like? 

 

 

“activityId”: [
        “The activity Concora_App_1.concoraActivity2+testAppBundleId3 could not be found (Parameter ‘activityId’)”
    ]

 

 

This is the payload we are sending.

 

 

{
        "activityId": "Concora_App_1.concoraActivity2+testAppBundleAlias2",
        "arguments": {
          "rvtFile": {
            "url": "urn:adsk.objects:os.object:concorabucket11/DeleteWalls1",
              "verb": "get",
              "headers": {
                  "Authorization": "Bearer {{accessToken}}"
              }
          },
          "result": {
            "url": "urn:adsk.objects:os.object:concorabucket11/DeleteWallsResult",
            "verb": "put",
              "headers": {
                  "Authorization": "Bearer {{accessToken}}"
              }
          }
        }
}

 

 

 

 

0 Likes
Accepted solutions (1)
279 Views
1 Reply
Reply (1)
Message 2 of 2

ricaun
Advisor
Advisor
Accepted solution

Usually, issues about Forge/APS are not dealt with in this forum, I suppose the official is the StackOverflow.

 

But I believe in your case you need to send the ActivityId alias.

 

Try Concora_App_1.concoraActivity2+testAppBundleAlias2.

The error shows that you are sending Concora_App_1.concoraActivity2+testAppBundleId3 as the ActivityId, probably does not exist.

 

Luiz Henrique Cassettari

ricaun.com - Revit API Developer

AppLoader EasyConduit WireInConduit ConduitMaterial CircuitName ElectricalUtils

0 Likes