Skip to content

suitecloud project:deploy #909

@kangqiwang

Description

@kangqiwang

Select the SuiteCloud tool where you encountered the issue

SuiteCloud CLI

Version of the SuiteCloud Tool

3.0.0

Operating system

windows 11

Node Version / VSCode Version

v23.11.0

JAVA Version

17.0.13

Bug description

I'm not sure if this is a bug or an expected behavior. I understand that we can’t import locked objects, yet we have a scenario where we created a workflow that uses a locked object record as a clienttrigger field. Essentially, the workflow sets specific values on this locked record as a condition.

We attempted to move this workflow from our sandbox to production. Since the locked object ID and record ID remain identical across environments, we expected the behavior to be consistent. However, when we run the command suitecloud object:import for the workflow, the locked record is shown with a script ID like this:

scriptid=customrecord_atlas_inv_adj_reasn.val_83705_7064404_283

While I understand that customrecord_atlas_inv_adj_reasn refers to the locked record, the appended val segment does not seem to correspond with the internal ID. Both our sandbox and production accounts include the same locked record ID and internal ID for customrecord_atlas_inv_adj_reasn, yet we are unable to deploy the workflow. We receive errors such as:

Details: The object reference [appid=com.suitesuccess.erpcore, scriptid=customrecord_atlas_inv_adj_reasn.val_83705_7064404_283] is missing in the project and also not included in the dependencies list.  
Details: The object reference [appid=com.suitesuccess.erpcore, scriptid=customrecord_atlas_inv_adj_reasn.val_83706_7064404_153] is missing in the project and also not included in the dependencies list.  
Details: The object reference [appid=com.suitesuccess.erpcore, scriptid=customrecord_atlas_inv_adj_reasn.val_83707_7064404_320] is missing in the project and also not included in the dependencies list.  
Details: The object reference [appid=com.suitesuccess.erpcore, scriptid=customrecord_atlas_inv_adj_reasn.val_83707_7064404_320] is missing in the project and also not included in the dependencies list.  
Details: The object reference [appid=com.suitesuccess.erpcore, scriptid=customrecord_atlas_inv_adj_reasn.val_83707_7064404_320] is missing in the project and also not included in the dependencies list.  
Details: The object reference [appid=com.suitesuccess.erpcore, scriptid=customrecord_atlas_inv_adj_reasn.val_544146_7064404_sb1_531] is missing in the project and also not included in the dependencies list.
Details: The object reference [appid=com.suitesuccess.erpcore, scriptid=customrecord_atlas_inv_adj_reasn.val_544154_7064404_sb1_759] is missing in the project and also not included in the dependencies li

I tried adding this object under the <objects> tag in the manifest.xml file, but that did not resolve the issue. I'm unsure whether this is a bug or if there is an alternative approach to resolve these deployment problems. Any insights or alternative solutions would be greatly appreciated.

Steps To Reproduce

  1. create workflow use lock object as condition
  2. import workflow using suitecloud object:import
  3. deploy this workflow to prod account

Actual Output

No response

Expected Output

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions