Jump to content

Recommended Posts

Posted

I've created a new sstage to my BPM, but I cannot publish it.

 

It says that its missing a StageComplete node. I've got an end stage node in there, so it can't be that. What am I missing?

image.png.a9cdeefc4b9d865757e5d1d0f56c5331.png

Posted

I don't know if this will help...

 

{"id":"stage-58006a87","displayName":"Pending Repair","translatedDisplayName":[{"text":"Pending Repair","language":"en-GB"}],"translatedDescription":[{"language":"en-GB"}],"stageMetaData":"{\"dataTranslations\":{\"en-GB\":{\"displayName\":\"Pending Repair\",\"description\":\"\"}},\"errorMessage\":\"\",\"groups\":[]}","checklist":{"item":[{"id":"f9ee7a6d-bd30-4a1b-cfdc-d46f47bcccf3","required":true,"displayName":"Repair Underway.","translatedDisplayName":[{"text":"Repair Underway.","language":"en-GB"}],"translatedDescription":[],"itemMetaData":"{\"dataTranslations\":{\"en-GB\":{\"displayName\":\"Repair Underway.\"}}}"},{"id":"1dd847cc-f8da-45fd-215f-a626647d4f96","required":true,"displayName":"Repair completed.","translatedDisplayName":[{"text":"Repair completed.","language":"en-GB"}],"translatedDescription":[],"itemMetaData":"{\"dataTranslations\":{\"en-GB\":{\"displayName\":\"Repair completed.\"}}}"},{"id":"0a0bb010-d22b-485b-7932-670b1419cff8","required":false,"displayName":"Awaiting Collection by Customer.","translatedDisplayName":[{"text":"Awaiting Collection by Customer.","language":"en-GB"}],"translatedDescription":[],"itemMetaData":"{\"dataTranslations\":{\"en-GB\":{\"displayName\":\"Awaiting Collection by Customer.\"}}}"},{"id":"6f103002-de24-42da-9d18-4393bba42717","required":false,"displayName":"Item with Customer.","translatedDisplayName":[{"text":"Item with Customer.","language":"en-GB"}],"translatedDescription":[],"itemMetaData":"{\"dataTranslations\":{\"en-GB\":{\"displayName\":\"Item with Customer.\"}}}"},{"id":"dd79240d-f0f3-419f-4425-2f3151d8f5b3","required":true,"displayName":"Incident Closed.","translatedDisplayName":[{"text":"Incident Closed.","language":"en-GB"}],"translatedDescription":[],"itemMetaData":"{\"dataTranslations\":{\"en-GB\":{\"displayName\":\"Incident Closed.\"}}}"}]},"flow":{"node":[{"id":"start-800dd8fa","displayName":"Start","nodeMetaData":"{\"pos\":{\"top\":20,\"left\":20},\"dataTranslations\":{},\"statusComplete\":true,\"statusMessage\":\"\",\"referenceError\":false}","checkpoint":[],"start":{"goto":"flowcode-86b6cbe1"}},{"id":"task-25e3d194","displayName":"Complete repair","nodeMetaData":"{\"statusComplete\":true,\"pos\":{\"left\":490,\"top\":10},\"dataTranslations\":{\"en-GB\":{\"displayName\":\"Complete repair\"}},\"hasTaskChecklist\":false,\"statusMessage\":\"\",\"expireParts\":{\"D\":\"\",\"H\":\"\",\"M\":\"\"},\"startParts\":{\"D\":\"\",\"H\":\"\",\"M\":\"\"},\"dueParts\":{\"D\":\"\",\"H\":\"\",\"M\":\"\"},\"assigneeDisplayName\":\"Second Line Support\",\"referenceError\":false,\"ownerDisplayName\":\"\"}","checkpoint":[],"task":{"assignee":"#QueenElizabethHospitalNHSFoundationTrust/SecondLineSupport/","outcome":["Completed"],"enhancedOutcomes":[{"outcome":"Completed","displayName":[{"text":"Completed","language":"en-GB"}],"buttonColor":"success","requiresReason":false,"customFields":[{"id":"field_1","label":[{"text":"Summary of action taken to complete.","language":"en-gb"}],"placeholderText":[],"isSummary":false,"isMandatory":true,"isVisible":true,"isReadOnly":false,"showIfEmpty":false,"multiText":{"regexValidationFailMessage":[]},"propertyStateConditions":[]},{"id":"field_2","label":[{"text":"Is this repaired item for collection or delivery?","language":"en-GB"}],"placeholderText":[{"text":"If for collection, an email will be sent to the customer asking them to collect.","language":"en-gb"}],"isSummary":false,"isMandatory":true,"isVisible":true,"isReadOnly":false,"showIfEmpty":false,"multiCheckbox":{"defaultValue":[],"options":[{"id":"Collection","text":[{"text":"Collection","language":"en-GB"}]},{"id":"Delivery","text":[{"text":"Delivery","language":"en-GB"}]}]},"propertyStateConditions":[]}]}],"task":{"title":"Repair of &[global[\"flowcoderefs\"][\"getReqInformation\"][\"customFieldA\"]]","details":"Complete the repair of the &[global[\"flowcoderefs\"][\"getReqInformation\"][\"customFieldA\"]]. Once done, indicate here that it is complete.","options":{"timeSpent":false,"enforceProgressForCompletion":false,"hideReason":false,"enforceTimeSpentForCompletion":false},"priority":"normal","remindAssignee":false,"remindOwner":false,"reminder":"PT0S","timeSpent":0,"progress":0,"customFields":[],"extra":"{}"},"goto":"decision-248006f7"}},

  • 2 weeks later...
Posted

@QEHNick Not sure if you have sorted this yet but I just had this on a BPM where the stage in question was in between two other stages and my last node was End Stage when it should have been Next Stage.  Changed it, published it fine.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...