billster Posted July 28, 2023 Share Posted July 28, 2023 Clicking the link button in the card works ok. it goes to /servicemanager/request/view/PM00000560 But if you click the blue open button it doesn't work it goes to /servicemanager/request/view/00000560 card key id &[global["inputParams"]["requestId"].substring(2, global["inputParams"]["requestId"].length)] It doesn't allow me to have the whole reference number as key id because it says 'invalid integer' which makes sense because it begins with PM but shouldn't pressing the blue open button open the card in board manager and not the service manager?? Link to comment Share on other sites More sharing options...
TrevorHarris Posted July 28, 2023 Share Posted July 28, 2023 The key param of the addCard BPM should be set to the full request Id, it doesn't expect it to be an integer so not sure where that error will be coming from Link to comment Share on other sites More sharing options...
billster Posted July 28, 2023 Author Share Posted July 28, 2023 Hi Trevor, if I use &[global["inputParams"]["requestId"]] or &[global["flowcoderefs"]["addCard"]["cardId"]] as key (for move card or update card) the BPM crashes and says <error>Invalid integer value 'PM00000556' specified at methodCall/params/cardId</error> </state> </methodCallResult> Link to comment Share on other sites More sharing options...
TrevorHarris Posted July 28, 2023 Share Posted July 28, 2023 The key and the card Id are different, the key should be the request ID. The card Id you need will be returned by the Add Card operation, or you can use the Get Card Information operation which will return the Card Id if you supply the key (request Id) and Board 1 Link to comment Share on other sites More sharing options...
billster Posted August 1, 2023 Author Share Posted August 1, 2023 Thanks I was able to sort it from the provided advise. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now