Skip to content

regenerating import XML provides model error #1232

Description

@mkrouwel

Mxcli 0.24
Mx 11.12.4

I have a microflow with an import with mapping activity, that uses an import mapping defined on a web service operation:
create or modify microflow ExamplesModule.ACT_test_import () folder 'Input' begin @start(100, 200) @position(291, 200) $Variable_2 = import from mapping ExamplesModule.Import_mapping($latestHttpResponse); @position(700, 200) return; end; /
This is a valid app, containing 0 errors (checked with mx check)

When re-executing this statement with mxcli, I get an Error in Studio: 'The selected import mapping cannot handle content type JSON.' This is confirmed by mx check.
This can be solved mannually by opening the activity, resulting in the message 'This action now imports XML'.
This implies the roundtrip needs manual fixes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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