Issues with Connected system

Certified Senior Developer

I am trying to build a portal to request Appian user account creation. From the interface I invoke an integration which in turn calls the webapi to trigger the process model to actually create Appian User. Individually each piece works fine from designer view. From the published portal however I am facing issue with the connected system. I created a service account and have mapped the API-Key in the CS. 

Further I tried skipping the CS and instead use Basic Auth with a system admin credentials but that throws an error that parameters aren't being passed.

Any help on what am I missing here?

Thanks,

Deepti

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Deepak gupta

    Record relationships can only be defined on unique fields.

    I would not use the processID as a common or unique value, as this will be reused.

    Why not just store the primary ID of the first table into the second?

Children
  • 0
    Certified Senior Developer
    in reply to Stefan Helzle

    i did that. but in one to one relationship i am not get option to make it a common field.

  • 0
    Certified Lead Developer
    in reply to Deepak gupta

    You did what exactly?

    After modifying the DB, you need to adjust the record data model as well.

  • 0
    Certified Senior Developer
    in reply to Stefan Helzle

    On Portal:
    Stefan, I am not getting the document upload in the portal into Appian Environment. i used a!submitUploadedFiles() as well

    a!buttonWidget(
    label: "Submit",
    submit:true(),
    saveInto: {
    /*a!verifyRecaptcha(),*/
    rule!PA_InsertDataIntoDB(
    userInfo: local!userInfo,
    onSuccess: {
    a!submitUploadedFiles()
    }
    )
    }
    )

    In Record Relationship:

    in the documentation, they mentioned, only unique keys will be visible for a one-to-one relationships. but in my second table, the primary key of the first table is not of unique constraints. how can I get the field in common fields

  • 0
    Certified Lead Developer
    in reply to Deepak gupta

    Would you please stop adding more and more problems to this discussion!

    Then make it a one-to-many.